summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-04 04:13:12 +0200
committerGravatar Martin Szulecki2020-06-04 04:13:12 +0200
commit638438237ce92dd72caccd5ed5d0635753a59d32 (patch)
treeb9441cf92e5d0d92224a4f78534b7b75cc7da45a /src/main.c
parent15d79450615962f020d8b1fe68a48dde0d69bafa (diff)
downloadusbmuxd-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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7c22092..b935e80 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)