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