diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-25 00:36:11 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-10-25 00:36:11 +0000 |
| commit | 1b81c5bde02dd290fb0d37bc67c19b066f1e7fc8 (patch) | |
| tree | 19e136cd5cebb5ee58f8fc28af856e130091268f | |
| parent | 55bdefacac374c0c592f420c20caba4c27a3cc66 (diff) | |
tools: Be a little more strict when matching command names
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
| -rwxr-xr-x | tools/cmd_check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cmd_check.py b/tools/cmd_check.py index 3a402138bd..e632c3ecc5 100755 --- a/tools/cmd_check.py +++ b/tools/cmd_check.py @@ -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 |
