summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-14 18:02:02 +0200
committerGravatar Martin Szulecki2014-10-14 18:02:02 +0200
commit18d1419408205956cca308781202e064a3122d99 (patch)
tree81b9195275736b4da2aa2a4211bb2e52071309bb
parent4d5e3134069a3223609efd78c6b2d47216151e42 (diff)
downloadusbmuxd-18d1419408205956cca308781202e064a3122d99.tar.gz
usbmuxd-18d1419408205956cca308781202e064a3122d99.tar.bz2
Fix broken "--user" option which didn't accept an argument
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6ddfb25..d277cd6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -366,7 +366,7 @@ static void parse_opts(int argc, char **argv)
{"help", 0, NULL, 'h'},
{"foreground", 0, NULL, 'f'},
{"verbose", 0, NULL, 'v'},
- {"user", 2, NULL, 'U'},
+ {"user", 1, NULL, 'U'},
{"udev", 0, NULL, 'u'},
{"exit", 0, NULL, 'x'},
{"force-exit", 0, NULL, 'X'},