diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 21 |
1 files changed, 11 insertions, 10 deletions
| @@ -346,16 +346,17 @@ static int notify_parent(int status) | |||
| 346 | 346 | ||
| 347 | static void usage() | 347 | static void usage() |
| 348 | { | 348 | { |
| 349 | printf("usage: usbmuxd [options]\n"); | 349 | printf("Usage: %s [OPTIONS]\n", PACKAGE_NAME); |
| 350 | printf("\t-h|--help Print this message.\n"); | 350 | printf("Expose a socket to multiplex connections from and to iOS devices.\n\n"); |
| 351 | printf("\t-v|--verbose Be verbose (use twice or more to increase).\n"); | 351 | printf(" -h, --help\t\tPrint this message.\n"); |
| 352 | printf("\t-f|--foreground Do not daemonize (implies one -v).\n"); | 352 | printf(" -v, --verbose\t\tBe verbose (use twice or more to increase).\n"); |
| 353 | printf("\t-U|--user USER Change to this user after startup (needs usb privileges).\n"); | 353 | printf(" -f, --foreground\tDo not daemonize (implies one -v).\n"); |
| 354 | printf("\t-u|--udev Run in udev operation mode.\n"); | 354 | printf(" -U, --user USER\tChange to this user after startup (needs USB privileges).\n"); |
| 355 | printf("\t-x|--exit Tell a running instance to exit if there are no devices\n"); | 355 | printf(" -u, --udev\t\tRun in udev operation mode.\n"); |
| 356 | printf("\t connected (must be in udev mode).\n"); | 356 | printf(" -x, --exit\t\tTell a running instance to exit if there are no devices\n"); |
| 357 | printf("\t-X|--force-exit Tell a running instance to exit, even if there are still\n"); | 357 | printf(" \t\tconnected (must be in udev mode).\n"); |
| 358 | printf("\t devices connected (always works).\n"); | 358 | printf(" -X, --force-exit\tTell a running instance to exit, even if there are still\n"); |
| 359 | printf(" \tdevices connected (always works).\n"); | ||
| 359 | printf("\n"); | 360 | printf("\n"); |
| 360 | } | 361 | } |
| 361 | 362 | ||
