diff options
| author | 2020-06-04 04:13:12 +0200 | |
|---|---|---|
| committer | 2020-06-04 04:13:12 +0200 | |
| commit | 638438237ce92dd72caccd5ed5d0635753a59d32 (patch) | |
| tree | b9441cf92e5d0d92224a4f78534b7b75cc7da45a | |
| parent | 15d79450615962f020d8b1fe68a48dde0d69bafa (diff) | |
| download | usbmuxd-638438237ce92dd72caccd5ed5d0635753a59d32.tar.gz usbmuxd-638438237ce92dd72caccd5ed5d0635753a59d32.tar.bz2 | |
Unify usage output with other tools and add project URLs
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -362,7 +362,10 @@ static int notify_parent(int status) | |||
| 362 | static void usage() | 362 | static void usage() |
| 363 | { | 363 | { |
| 364 | printf("Usage: %s [OPTIONS]\n", PACKAGE_NAME); | 364 | printf("Usage: %s [OPTIONS]\n", PACKAGE_NAME); |
| 365 | printf("Expose a socket to multiplex connections from and to iOS devices.\n\n"); | 365 | printf("\n"); |
| 366 | printf("Expose a socket to multiplex connections from and to iOS devices.\n"); | ||
| 367 | printf("\n"); | ||
| 368 | printf("OPTIONS:\n"); | ||
| 366 | printf(" -h, --help\t\tPrint this message.\n"); | 369 | printf(" -h, --help\t\tPrint this message.\n"); |
| 367 | printf(" -v, --verbose\t\tBe verbose (use twice or more to increase).\n"); | 370 | printf(" -v, --verbose\t\tBe verbose (use twice or more to increase).\n"); |
| 368 | printf(" -f, --foreground\tDo not daemonize (implies one -v).\n"); | 371 | printf(" -f, --foreground\tDo not daemonize (implies one -v).\n"); |
| @@ -385,6 +388,8 @@ static void usage() | |||
| 385 | printf(" -l, --logfile=LOGFILE\tLog (append) to LOGFILE instead of stderr or syslog.\n"); | 388 | printf(" -l, --logfile=LOGFILE\tLog (append) to LOGFILE instead of stderr or syslog.\n"); |
| 386 | printf(" -V, --version\t\tPrint version information and exit.\n"); | 389 | printf(" -V, --version\t\tPrint version information and exit.\n"); |
| 387 | printf("\n"); | 390 | printf("\n"); |
| 391 | printf("Homepage: <" PACKAGE_URL ">\n"); | ||
| 392 | printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); | ||
| 388 | } | 393 | } |
| 389 | 394 | ||
| 390 | static void parse_opts(int argc, char **argv) | 395 | static void parse_opts(int argc, char **argv) |
