mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r14661) -Fix r14659: oops, forgot to escape '?' ;)
This commit is contained in:
parent
d952324cfa
commit
c3f96f8377
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user