summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-22 16:44:29 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-22 16:44:29 -0700
commit010d168aaa908073d03be66259042f921dfb861e (patch)
treeb6ef7e98056f1bc6abe9e4548d4c88e5720d1a29 /scripts
parentde033bce88842c931180c332d8fec3df9b5ff342 (diff)
correctly detect default short options
Diffstat (limited to 'scripts')
-rw-r--r--scripts/commandline.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/commandline.inc b/scripts/commandline.inc
index a245b2f16..4a7757fb9 100644
--- a/scripts/commandline.inc
+++ b/scripts/commandline.inc
@@ -91,22 +91,22 @@ foreach ($options as $option) {
switch ($option[0]) {
case '--server':
- case '-s':
+ case 's':
$server = $option[1];
break;
case '--path':
- case '-p':
+ case 'p':
$path = $option[1];
break;
case '--conf':
- case '-c':
+ case 'c':
$conffile = $option[1];
break;
case '--help':
- case '-h':
+ case 'h':
show_help();
}
}