Changeset - r10410:5aaa6d955044
[Not reviewed]
master
0 1 0
truebrain - 16 years ago 2008-12-07 12:41:20
truebrain@openttd.org
(svn r14661) -Fix r14659: oops, forgot to escape '?' ;)
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)