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/idevicepair.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/idevicepair.c')
-rw-r--r-- | tools/idevicepair.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/tools/idevicepair.c b/tools/idevicepair.c index bc0f5d8..99c7b7c 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c @@ -65,21 +65,25 @@ static void print_usage(int argc, char **argv) char *name = NULL; name = strrchr(argv[0], '/'); - printf("\n%s - Manage host pairings with devices and usbmuxd.\n\n", (name ? name + 1: argv[0])); - printf("Usage: %s [OPTIONS] COMMAND\n\n", (name ? name + 1: argv[0])); - printf(" Where COMMAND is one of:\n"); + printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0])); + printf("\n"); + printf("Manage host pairings with devices and usbmuxd.\n"); + printf("\n"); + printf("Where COMMAND is one of:\n"); printf(" systembuid print the system buid of the usbmuxd host\n"); printf(" hostid print the host id for target device\n"); printf(" pair pair device with this host\n"); printf(" validate validate if device is paired with this host\n"); printf(" unpair unpair device with this host\n"); - printf(" list list devices paired with this host\n\n"); - printf(" The following OPTIONS are accepted:\n"); + printf(" list list devices paired with this host\n"); + printf("\n"); + printf("The following OPTIONS are accepted:\n"); printf(" -d, --debug enable communication debugging\n"); printf(" -u, --udid UDID target specific device by UDID\n"); printf(" -h, --help prints usage information\n"); printf("\n"); - printf("Homepage: <" PACKAGE_URL ">\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); + printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); } static void parse_opts(int argc, char **argv) |