summaryrefslogtreecommitdiffstats
path: root/tools/idevicepair.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicepair.c')
-rw-r--r--tools/idevicepair.c16
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)
65 char *name = NULL; 65 char *name = NULL;
66 66
67 name = strrchr(argv[0], '/'); 67 name = strrchr(argv[0], '/');
68 printf("\n%s - Manage host pairings with devices and usbmuxd.\n\n", (name ? name + 1: argv[0])); 68 printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0]));
69 printf("Usage: %s [OPTIONS] COMMAND\n\n", (name ? name + 1: argv[0])); 69 printf("\n");
70 printf(" Where COMMAND is one of:\n"); 70 printf("Manage host pairings with devices and usbmuxd.\n");
71 printf("\n");
72 printf("Where COMMAND is one of:\n");
71 printf(" systembuid print the system buid of the usbmuxd host\n"); 73 printf(" systembuid print the system buid of the usbmuxd host\n");
72 printf(" hostid print the host id for target device\n"); 74 printf(" hostid print the host id for target device\n");
73 printf(" pair pair device with this host\n"); 75 printf(" pair pair device with this host\n");
74 printf(" validate validate if device is paired with this host\n"); 76 printf(" validate validate if device is paired with this host\n");
75 printf(" unpair unpair device with this host\n"); 77 printf(" unpair unpair device with this host\n");
76 printf(" list list devices paired with this host\n\n"); 78 printf(" list list devices paired with this host\n");
77 printf(" The following OPTIONS are accepted:\n"); 79 printf("\n");
80 printf("The following OPTIONS are accepted:\n");
78 printf(" -d, --debug enable communication debugging\n"); 81 printf(" -d, --debug enable communication debugging\n");
79 printf(" -u, --udid UDID target specific device by UDID\n"); 82 printf(" -u, --udid UDID target specific device by UDID\n");
80 printf(" -h, --help prints usage information\n"); 83 printf(" -h, --help prints usage information\n");
81 printf("\n"); 84 printf("\n");
82 printf("Homepage: <" PACKAGE_URL ">\n"); 85 printf("Homepage: <" PACKAGE_URL ">\n");
86 printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n");
83} 87}
84 88
85static void parse_opts(int argc, char **argv) 89static void parse_opts(int argc, char **argv)