summaryrefslogtreecommitdiffstats
path: root/usbmuxd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usbmuxd/main.c')
-rw-r--r--usbmuxd/main.c12
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()
303 printf("\t-h|--help Print this message.\n"); 303 printf("\t-h|--help Print this message.\n");
304 printf("\t-v|--verbose Be verbose (use twice or more to increase).\n"); 304 printf("\t-v|--verbose Be verbose (use twice or more to increase).\n");
305 printf("\t-f|--foreground Do not daemonize (implies one -v).\n"); 305 printf("\t-f|--foreground Do not daemonize (implies one -v).\n");
306 printf("\t-u|--user[=USER] Change to this user after startup (needs usb privileges).\n"); 306 printf("\t-U|--user[=USER] Change to this user after startup (needs usb privileges).\n");
307 printf("\t If USER is not specified, defaults to usbmux.\n"); 307 printf("\t If USER is not specified, defaults to usbmux.\n");
308 printf("\t-d|--udev Run in udev operation mode.\n"); 308 printf("\t-u|--udev Run in udev operation mode.\n");
309 printf("\t-x|--exit Tell a running instance to exit if there are no devices\n"); 309 printf("\t-x|--exit Tell a running instance to exit if there are no devices\n");
310 printf("\t connected (must be in udev mode).\n"); 310 printf("\t connected (must be in udev mode).\n");
311 printf("\t-X|--force-exit Tell a running instance to exit, even if there are still\n"); 311 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)
319 {"help", 0, NULL, 'h'}, 319 {"help", 0, NULL, 'h'},
320 {"foreground", 0, NULL, 'f'}, 320 {"foreground", 0, NULL, 'f'},
321 {"verbose", 0, NULL, 'v'}, 321 {"verbose", 0, NULL, 'v'},
322 {"user", 2, NULL, 'u'}, 322 {"user", 2, NULL, 'U'},
323 {"udev", 0, NULL, 'd'}, 323 {"udev", 0, NULL, 'u'},
324 {"exit", 0, NULL, 'x'}, 324 {"exit", 0, NULL, 'x'},
325 {"force-exit", 0, NULL, 'X'}, 325 {"force-exit", 0, NULL, 'X'},
326 {NULL, 0, NULL, 0} 326 {NULL, 0, NULL, 0}
@@ -343,12 +343,12 @@ static void parse_opts(int argc, char **argv)
343 case 'v': 343 case 'v':
344 ++verbose; 344 ++verbose;
345 break; 345 break;
346 case 'u': 346 case 'U':
347 drop_privileges = 1; 347 drop_privileges = 1;
348 if(optarg) 348 if(optarg)
349 drop_user = optarg; 349 drop_user = optarg;
350 break; 350 break;
351 case 'd': 351 case 'u':
352 opt_udev = 1; 352 opt_udev = 1;
353 break; 353 break;
354 case 'x': 354 case 'x':