correctly detect default short options

This commit is contained in:
Evan Prodromou 2009-06-22 16:44:29 -07:00
parent de033bce88
commit 010d168aaa

View File

@ -91,22 +91,22 @@ foreach ($options as $option) {
switch ($option[0]) { switch ($option[0]) {
case '--server': case '--server':
case '-s': case 's':
$server = $option[1]; $server = $option[1];
break; break;
case '--path': case '--path':
case '-p': case 'p':
$path = $option[1]; $path = $option[1];
break; break;
case '--conf': case '--conf':
case '-c': case 'c':
$conffile = $option[1]; $conffile = $option[1];
break; break;
case '--help': case '--help':
case '-h': case 'h':
show_help(); show_help();
} }
} }