mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 17:13:46 +00:00
tools: Be a little more strict when matching command names
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
55bdefacac
commit
1b81c5bde0
@ -10,8 +10,8 @@ from pprint import pprint
|
|||||||
|
|
||||||
# patterns used to extract commands
|
# patterns used to extract commands
|
||||||
command_patterns = [
|
command_patterns = [
|
||||||
r'DEF.*\(.*\n\s*(.*_cmd)',
|
r'DEF.*\(.*\n\s*([a-z_]*_cmd)',
|
||||||
r'ALIAS.*\(.*\n\s*(.*_cmd)',
|
r'ALIAS.*\(.*\n\s*([a-z_]*_cmd)',
|
||||||
]
|
]
|
||||||
|
|
||||||
# patterns that count as installing the command
|
# patterns that count as installing the command
|
||||||
|
Loading…
Reference in New Issue
Block a user