diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-27 20:05:06 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-27 20:07:23 +0100 |
| commit | b8e23d0c5e60436774f161ee024e45a390ec6aef (patch) | |
| tree | 7e8c6e61de82c72afe996300f3de63c7128ac69c | |
| parent | 69bd2f5f67c1444fae9558ddbda09389e8d6c7ab (diff) | |
eval_expr.py: Fix missing argument error message
Copy-paste error.
Piggyback error message consistency nit for help_grep.py.
| -rw-r--r-- | examples/eval_expr.py | 2 | ||||
| -rw-r--r-- | examples/help_grep.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/eval_expr.py b/examples/eval_expr.py index 542c024..14231f9 100644 --- a/examples/eval_expr.py +++ b/examples/eval_expr.py @@ -10,7 +10,7 @@ import kconfiglib import sys if len(sys.argv) < 3: - print('Pass symbol name (without "CONFIG_" prefix) with SCRIPT_ARG=NAME') + print("Pass the expression to evaluate with SCRIPT_ARG=<expression>") sys.exit(1) expr = sys.argv[2] diff --git a/examples/help_grep.py b/examples/help_grep.py index 01ea5e7..a476d9c 100644 --- a/examples/help_grep.py +++ b/examples/help_grep.py @@ -38,7 +38,7 @@ import re import sys if len(sys.argv) < 3: - print('Pass the regex with SCRIPT_ARG=regex') + print("Pass the regex with SCRIPT_ARG=<regex>") sys.exit(1) search = re.compile(sys.argv[2], re.IGNORECASE).search |
