diff options
author | truebrain <truebrain@openttd.org> | 2008-12-07 12:41:20 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2008-12-07 12:41:20 +0000 |
commit | 11a4f945a795fe7fc7ec49662ab00dfb2b646693 (patch) | |
tree | 49f448ed9bcc96d1690bd8132aebafc5ab6f7467 | |
parent | 27c136dd91b4e9abc7505685f2175a537f43f2fc (diff) | |
download | openttd-11a4f945a795fe7fc7ec49662ab00dfb2b646693.tar.xz |
(svn r14661) -Fix r14659: oops, forgot to escape '?' ;)
-rw-r--r-- | config.lib | 4 |
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 |