diff options
author | Martin Szulecki | 2014-03-21 22:01:10 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-03-21 22:01:10 +0100 |
commit | 6b1482af7f3a795c4221f979acb8d694b6a4a680 (patch) | |
tree | fc29ceb6981959c3735e9e1f319a327ac825400c | |
parent | e621f084bcae8a6d3ab6431c9cfb144bd6218992 (diff) | |
download | libimobiledevice-6b1482af7f3a795c4221f979acb8d694b6a4a680.tar.gz libimobiledevice-6b1482af7f3a795c4221f979acb8d694b6a4a680.tar.bz2 |
idevicepair: Synchronize usage between tool output and man page
-rw-r--r-- | docs/idevicepair.1 | 21 | ||||
-rw-r--r-- | tools/idevicepair.c | 12 |
2 files changed, 19 insertions, 14 deletions
diff --git a/docs/idevicepair.1 b/docs/idevicepair.1 index bf2c56d..836d524 100644 --- a/docs/idevicepair.1 +++ b/docs/idevicepair.1 @@ -1,13 +1,13 @@ .TH "idevicepair" 1 .SH NAME -idevicepair \- Manage pairings with devices and this host. +idevicepair \- Manage host pairings with devices and usbmuxd. .SH SYNOPSIS .B idevicepair [OPTIONS] COMMAND .SH DESCRIPTION -Manage pairings with devices and this host. +Manage host pairings with devices and usbmuxd. .SH OPTIONS .TP @@ -22,22 +22,27 @@ prints usage information. .SH COMMANDS .TP +.B systembuid +print the system buid of the usbmuxd host. +.TP .B hostid -print the host id of this computer. +print the host id for target device. .TP .B pair -pair device with this computer. +pair device with this host. .TP .B validate -validate if device is paired with this computer. +validate if device is paired with this host. .TP .B unpair -unpair device with this computer. +unpair device with this host. .TP .B list -list devices paired with this computer. +list devices paired with this host. .SH AUTHORS Nikias Bassen -Man page written to conform with Debian by Julien Lavergne. +Martin Szulecki + +Julien Lavergne diff --git a/tools/idevicepair.c b/tools/idevicepair.c index 8fc1148..d304764 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c @@ -56,15 +56,15 @@ static void print_usage(int argc, char **argv) char *name = NULL; name = strrchr(argv[0], '/'); - printf("\n%s - Manage pairings with devices and this host.\n\n", (name ? name + 1: 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(" systembuid print the system buid of this computer\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 computer\n"); - printf(" validate validate if device is paired with this computer\n"); - printf(" unpair unpair device with this computer\n"); - printf(" list list devices paired with this computer\n\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(" -d, --debug enable communication debugging\n"); printf(" -u, --udid UDID target specific device by its 40-digit device UDID\n"); |