summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/cmd_check.py4
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