diff options
| -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 @@ | |||
| 1 | .TH "idevicepair" 1 | 1 | .TH "idevicepair" 1 |
| 2 | .SH NAME | 2 | .SH NAME |
| 3 | idevicepair \- Manage pairings with devices and this host. | 3 | idevicepair \- Manage host pairings with devices and usbmuxd. |
| 4 | .SH SYNOPSIS | 4 | .SH SYNOPSIS |
| 5 | .B idevicepair | 5 | .B idevicepair |
| 6 | [OPTIONS] COMMAND | 6 | [OPTIONS] COMMAND |
| 7 | 7 | ||
| 8 | .SH DESCRIPTION | 8 | .SH DESCRIPTION |
| 9 | 9 | ||
| 10 | Manage pairings with devices and this host. | 10 | Manage host pairings with devices and usbmuxd. |
| 11 | 11 | ||
| 12 | .SH OPTIONS | 12 | .SH OPTIONS |
| 13 | .TP | 13 | .TP |
| @@ -22,22 +22,27 @@ prints usage information. | |||
| 22 | 22 | ||
| 23 | .SH COMMANDS | 23 | .SH COMMANDS |
| 24 | .TP | 24 | .TP |
| 25 | .B systembuid | ||
| 26 | print the system buid of the usbmuxd host. | ||
| 27 | .TP | ||
| 25 | .B hostid | 28 | .B hostid |
| 26 | print the host id of this computer. | 29 | print the host id for target device. |
| 27 | .TP | 30 | .TP |
| 28 | .B pair | 31 | .B pair |
| 29 | pair device with this computer. | 32 | pair device with this host. |
| 30 | .TP | 33 | .TP |
| 31 | .B validate | 34 | .B validate |
| 32 | validate if device is paired with this computer. | 35 | validate if device is paired with this host. |
| 33 | .TP | 36 | .TP |
| 34 | .B unpair | 37 | .B unpair |
| 35 | unpair device with this computer. | 38 | unpair device with this host. |
| 36 | .TP | 39 | .TP |
| 37 | .B list | 40 | .B list |
| 38 | list devices paired with this computer. | 41 | list devices paired with this host. |
| 39 | 42 | ||
| 40 | .SH AUTHORS | 43 | .SH AUTHORS |
| 41 | Nikias Bassen | 44 | Nikias Bassen |
| 42 | 45 | ||
| 43 | Man page written to conform with Debian by Julien Lavergne. | 46 | Martin Szulecki |
| 47 | |||
| 48 | 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) | |||
| 56 | char *name = NULL; | 56 | char *name = NULL; |
| 57 | 57 | ||
| 58 | name = strrchr(argv[0], '/'); | 58 | name = strrchr(argv[0], '/'); |
| 59 | printf("\n%s - Manage pairings with devices and this host.\n\n", (name ? name + 1: argv[0])); | 59 | printf("\n%s - Manage host pairings with devices and usbmuxd.\n\n", (name ? name + 1: argv[0])); |
| 60 | printf("Usage: %s [OPTIONS] COMMAND\n\n", (name ? name + 1: argv[0])); | 60 | printf("Usage: %s [OPTIONS] COMMAND\n\n", (name ? name + 1: argv[0])); |
| 61 | printf(" Where COMMAND is one of:\n"); | 61 | printf(" Where COMMAND is one of:\n"); |
| 62 | printf(" systembuid print the system buid of this computer\n"); | 62 | printf(" systembuid print the system buid of the usbmuxd host\n"); |
| 63 | printf(" hostid print the host id for target device\n"); | 63 | printf(" hostid print the host id for target device\n"); |
| 64 | printf(" pair pair device with this computer\n"); | 64 | printf(" pair pair device with this host\n"); |
| 65 | printf(" validate validate if device is paired with this computer\n"); | 65 | printf(" validate validate if device is paired with this host\n"); |
| 66 | printf(" unpair unpair device with this computer\n"); | 66 | printf(" unpair unpair device with this host\n"); |
| 67 | printf(" list list devices paired with this computer\n\n"); | 67 | printf(" list list devices paired with this host\n\n"); |
| 68 | printf(" The following OPTIONS are accepted:\n"); | 68 | printf(" The following OPTIONS are accepted:\n"); |
| 69 | printf(" -d, --debug enable communication debugging\n"); | 69 | printf(" -d, --debug enable communication debugging\n"); |
| 70 | printf(" -u, --udid UDID target specific device by its 40-digit device UDID\n"); | 70 | printf(" -u, --udid UDID target specific device by its 40-digit device UDID\n"); |
