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 | c3f96f8377a8692b4b2ef6b57362794a961aa3a4 (patch) | |
tree | 49f448ed9bcc96d1690bd8132aebafc5ab6f7467 | |
parent | d952324cfa0c9f05af267aa95b5dbf352b2767cf (diff) | |
download | openttd-c3f96f8377a8692b4b2ef6b57362794a961aa3a4.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 |