diff options
author | Hector Martin | 2009-08-19 07:34:22 +0200 |
---|---|---|
committer | Hector Martin | 2009-08-19 07:34:22 +0200 |
commit | f4854f3fd725b5ba49cd5157d941783cffa08c04 (patch) | |
tree | fd705c60b7375930b918306bafdff0e79210b20e | |
parent | dd3258133e54bd2c3355b09f43059f56fab5ee14 (diff) | |
download | usbmuxd-f4854f3fd725b5ba49cd5157d941783cffa08c04.tar.gz usbmuxd-f4854f3fd725b5ba49cd5157d941783cffa08c04.tar.bz2 |
Changed --udev back to -u and --user to -U
-rw-r--r-- | usbmuxd/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usbmuxd/main.c b/usbmuxd/main.c index 6b3c881..6fe6688 100644 --- a/usbmuxd/main.c +++ b/usbmuxd/main.c @@ -303,9 +303,9 @@ static void usage() printf("\t-h|--help Print this message.\n"); printf("\t-v|--verbose Be verbose (use twice or more to increase).\n"); printf("\t-f|--foreground Do not daemonize (implies one -v).\n"); - printf("\t-u|--user[=USER] Change to this user after startup (needs usb privileges).\n"); + printf("\t-U|--user[=USER] Change to this user after startup (needs usb privileges).\n"); printf("\t If USER is not specified, defaults to usbmux.\n"); - printf("\t-d|--udev Run in udev operation mode.\n"); + printf("\t-u|--udev Run in udev operation mode.\n"); printf("\t-x|--exit Tell a running instance to exit if there are no devices\n"); printf("\t connected (must be in udev mode).\n"); printf("\t-X|--force-exit Tell a running instance to exit, even if there are still\n"); @@ -319,8 +319,8 @@ static void parse_opts(int argc, char **argv) {"help", 0, NULL, 'h'}, {"foreground", 0, NULL, 'f'}, {"verbose", 0, NULL, 'v'}, - {"user", 2, NULL, 'u'}, - {"udev", 0, NULL, 'd'}, + {"user", 2, NULL, 'U'}, + {"udev", 0, NULL, 'u'}, {"exit", 0, NULL, 'x'}, {"force-exit", 0, NULL, 'X'}, {NULL, 0, NULL, 0} @@ -343,12 +343,12 @@ static void parse_opts(int argc, char **argv) case 'v': ++verbose; break; - case 'u': + case 'U': drop_privileges = 1; if(optarg) drop_user = optarg; break; - case 'd': + case 'u': opt_udev = 1; break; case 'x': |