summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib
index ba3e46d80..2636773b9 100644
--- a/config.lib
+++ b/config.lib
@@ -157,7 +157,7 @@ detect_params() {
optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
case "$p" in
- --help | -h | -?) showhelp; exit 0;;
+ --help | -h | -\?) showhelp; exit 0;;
--config-log) prev_p="config_log";;
--config-log=*) config_log="$optarg";;
@@ -385,7 +385,7 @@ detect_params() {
--ignore-extra-parameters) ignore_extra_parameters="1";;
- --*)
+ --* | -*)
if [ "$ignore_extra_parameters" = "0" ]; then
echo "Unknown option $p"
exit 1