From 6b1482af7f3a795c4221f979acb8d694b6a4a680 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 21 Mar 2014 22:01:10 +0100 Subject: idevicepair: Synchronize usage between tool output and man page --- docs/idevicepair.1 | 21 +++++++++++++-------- 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"); -- cgit v1.1-32-gdbae