summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2008-03-18 17:18:06 +0000
committerNathan Angelacos <nangel@alpinelinux.org>2008-03-18 17:18:06 +0000
commit6cf06e9d5f4cc507fda967ce813e862bb0ac2e05 (patch)
tree1698359885522052b3bfdfc9e1ac6c230ee845f1
parent8b71b1f62a9e7027d33b2a0987630c274f9c2f19 (diff)
downloadhaserl-6cf06e9d5f4cc507fda967ce813e862bb0ac2e05.tar.bz2
haserl-6cf06e9d5f4cc507fda967ce813e862bb0ac2e05.tar.xz
short option for debug is -d not -D
-rw-r--r--src/haserl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/haserl.c b/src/haserl.c
index 9769fda..ed14b91 100644
--- a/src/haserl.c
+++ b/src/haserl.c
@@ -111,7 +111,7 @@ void (*shell_destroy) (void);
struct option ga_long_options[] = {
{"version", no_argument, 0, 'v'},
{"help", no_argument, 0, 'h'},
- {"debug", no_argument, 0, 'D'},
+ {"debug", no_argument, 0, 'd'},
{"upload-limit", required_argument, 0, 'u'},
{"upload-dir", required_argument, 0, 'U'},
{"upload-handler", required_argument, 0, 'H'},
@@ -539,7 +539,7 @@ parseCommandLine (int argc, char *argv[])
{
switch (c)
{
- case 'D':
+ case 'd':
global.debug = TRUE;
break;
case 's':