diff options
author | Martin Szulecki | 2020-06-04 02:46:09 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-04 02:46:09 +0200 |
commit | bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e (patch) | |
tree | 2583c0ccae9fa2f1b3606118b49bc530749777f9 /tools/idevicenotificationproxy.c | |
parent | e1cfe7f6d431b233a151a20b9efc8a8ccb34ab51 (diff) | |
download | libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.gz libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.bz2 |
Unify usage output in all tools and add bugreport URL
Diffstat (limited to 'tools/idevicenotificationproxy.c')
-rw-r--r-- | tools/idevicenotificationproxy.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/idevicenotificationproxy.c b/tools/idevicenotificationproxy.c index 72b406c..45744bc 100644 --- a/tools/idevicenotificationproxy.c +++ b/tools/idevicenotificationproxy.c @@ -63,17 +63,20 @@ static void print_usage(int argc, char **argv) name = strrchr(argv[0], '/'); printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0])); - printf("Post or observe notifications on a device.\n\n"); - printf(" Where COMMAND is one of:\n"); + printf("\n"); + printf("Post or observe notifications on a device.\n"); + printf("\n"); + printf("Where COMMAND is one of:\n"); printf(" post ID [...]\t\tpost notification IDs to device and exit\n"); printf(" observe ID [...]\tobserve notification IDs in the foreground until CTRL+C or signal is received\n"); printf("\n"); - printf(" The following OPTIONS are accepted:\n"); + printf("The following OPTIONS are accepted:\n"); printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -u, --udid UDID\ttarget specific device by UDID\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <" PACKAGE_URL ">\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); + printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); } static void notify_cb(const char *notification, void *user_data) |