mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 10:50:18 +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
|
||||
command_patterns = [
|
||||
r'DEF.*\(.*\n\s*(.*_cmd)',
|
||||
r'ALIAS.*\(.*\n\s*(.*_cmd)',
|
||||
r'DEF.*\(.*\n\s*([a-z_]*_cmd)',
|
||||
r'ALIAS.*\(.*\n\s*([a-z_]*_cmd)',
|
||||
]
|
||||
|
||||
# patterns that count as installing the command
|
||||
|
Loading…
Reference in New Issue
Block a user