diff options
| author | 2012-04-07 15:50:04 +0200 | |
|---|---|---|
| committer | 2012-04-07 15:50:04 +0200 | |
| commit | 1379f42c50ddfadea776c9e253c5df4fcc93dacb (patch) | |
| tree | 96d5b1221a43160b33cb77fe6769be746bb0837a /tools | |
| parent | b9620d31217afd09453a65dba295638271cc43be (diff) | |
| download | libimobiledevice-1379f42c50ddfadea776c9e253c5df4fcc93dacb.tar.gz libimobiledevice-1379f42c50ddfadea776c9e253c5df4fcc93dacb.tar.bz2 | |
Update comments of tools to use "device" instead of naming specific models
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idevice_id.c | 2 | ||||
| -rw-r--r-- | tools/idevicedate.c | 4 | ||||
| -rw-r--r-- | tools/ideviceimagemounter.c | 5 | ||||
| -rw-r--r-- | tools/ideviceinfo.c | 2 | ||||
| -rw-r--r-- | tools/idevicepair.c | 4 | ||||
| -rw-r--r-- | tools/idevicescreenshot.c | 7 | ||||
| -rw-r--r-- | tools/idevicesyslog.c | 2 |
7 files changed, 14 insertions, 12 deletions
diff --git a/tools/idevice_id.c b/tools/idevice_id.c index 44a542a..6fefaef 100644 --- a/tools/idevice_id.c +++ b/tools/idevice_id.c | |||
| @@ -14,7 +14,7 @@ static void print_usage(int argc, char **argv) | |||
| 14 | 14 | ||
| 15 | name = strrchr(argv[0], '/'); | 15 | name = strrchr(argv[0], '/'); |
| 16 | printf("Usage: %s [OPTIONS] [UDID]\n", (name ? name + 1: argv[0])); | 16 | printf("Usage: %s [OPTIONS] [UDID]\n", (name ? name + 1: argv[0])); |
| 17 | printf("Prints device name or a list of attached iPhone/iPod Touch devices.\n\n"); | 17 | printf("Prints device name or a list of attached devices.\n\n"); |
| 18 | printf(" The UDID is a 40-digit hexadecimal number of the device\n"); | 18 | printf(" The UDID is a 40-digit hexadecimal number of the device\n"); |
| 19 | printf(" for which the name should be retrieved.\n\n"); | 19 | printf(" for which the name should be retrieved.\n\n"); |
| 20 | printf(" -l, --list\t\tlist UDID of all attached devices\n"); | 20 | printf(" -l, --list\t\tlist UDID of all attached devices\n"); |
diff --git a/tools/idevicedate.c b/tools/idevicedate.c index 43a4aee..0f1410f 100644 --- a/tools/idevicedate.c +++ b/tools/idevicedate.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * idevicedate.c | 2 | * idevicedate.c |
| 3 | * Simple utility to get and set the clock on an iDevice | 3 | * Simple utility to get and set the clock on a device |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2011 Martin Szulecki All Rights Reserved. | 5 | * Copyright (c) 2011 Martin Szulecki All Rights Reserved. |
| 6 | * | 6 | * |
| @@ -42,7 +42,7 @@ static void print_usage(int argc, char **argv) | |||
| 42 | 42 | ||
| 43 | name = strrchr(argv[0], '/'); | 43 | name = strrchr(argv[0], '/'); |
| 44 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); | 44 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); |
| 45 | printf("Display the current date or set it on an iDevice.\n\n"); | 45 | printf("Display the current date or set it on a device.\n\n"); |
| 46 | printf(" -d, --debug\t\tenable communication debugging\n"); | 46 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 47 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 47 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 48 | printf(" -s, --set TIMESTAMP\tset UTC time described by TIMESTAMP\n"); | 48 | printf(" -s, --set TIMESTAMP\tset UTC time described by TIMESTAMP\n"); |
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c index a9f6142..37e29b1 100644 --- a/tools/ideviceimagemounter.c +++ b/tools/ideviceimagemounter.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /** | 1 | /* |
| 2 | * ideviceimagemounter -- Mount developer/debug disk images on the iPhone/iPod | 2 | * ideviceimagemounter.c |
| 3 | * Mount developer/debug disk images on the device | ||
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2010 Nikias Bassen <nikias@gmx.li> | 5 | * Copyright (C) 2010 Nikias Bassen <nikias@gmx.li> |
| 5 | * | 6 | * |
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c index ca4b246..dd472d9 100644 --- a/tools/ideviceinfo.c +++ b/tools/ideviceinfo.c | |||
| @@ -253,7 +253,7 @@ static void print_usage(int argc, char **argv) | |||
| 253 | 253 | ||
| 254 | name = strrchr(argv[0], '/'); | 254 | name = strrchr(argv[0], '/'); |
| 255 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); | 255 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); |
| 256 | printf("Show information about a connected iPhone/iPod Touch.\n\n"); | 256 | printf("Show information about a connected device.\n\n"); |
| 257 | printf(" -d, --debug\t\tenable communication debugging\n"); | 257 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 258 | printf(" -s, --simple\t\tuse a simple connection to avoid auto-pairing with the device\n"); | 258 | printf(" -s, --simple\t\tuse a simple connection to avoid auto-pairing with the device\n"); |
| 259 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 259 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
diff --git a/tools/idevicepair.c b/tools/idevicepair.c index d810365..35147a4 100644 --- a/tools/idevicepair.c +++ b/tools/idevicepair.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * idevicepair.c | 2 | * idevicepair.c |
| 3 | * Simple utility to pair/unpair an iDevice | 3 | * Manage pairings with devices and this host |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. | 5 | * Copyright (c) 2010 Nikias Bassen All Rights Reserved. |
| 6 | * | 6 | * |
| @@ -35,7 +35,7 @@ static void print_usage(int argc, char **argv) | |||
| 35 | char *name = NULL; | 35 | char *name = NULL; |
| 36 | 36 | ||
| 37 | name = strrchr(argv[0], '/'); | 37 | name = strrchr(argv[0], '/'); |
| 38 | printf("\n%s - Manage pairings with iPhone/iPod Touch/iPad devices and this host.\n\n", (name ? name + 1: argv[0])); | 38 | printf("\n%s - Manage pairings with devices and this host.\n\n", (name ? name + 1: argv[0])); |
| 39 | printf("Usage: %s [OPTIONS] COMMAND\n\n", (name ? name + 1: argv[0])); | 39 | printf("Usage: %s [OPTIONS] COMMAND\n\n", (name ? name + 1: argv[0])); |
| 40 | printf(" Where COMMAND is one of:\n"); | 40 | printf(" Where COMMAND is one of:\n"); |
| 41 | printf(" hostid print the host id of this computer\n"); | 41 | printf(" hostid print the host id of this computer\n"); |
diff --git a/tools/idevicescreenshot.c b/tools/idevicescreenshot.c index 8f75fd1..2020658 100644 --- a/tools/idevicescreenshot.c +++ b/tools/idevicescreenshot.c | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | /** | 1 | /* |
| 2 | * idevicescreenshot -- Gets a screenshot from a connected iPhone/iPod Touch | 2 | * idevicescreenshot.c |
| 3 | * Gets a screenshot from a device | ||
| 3 | * | 4 | * |
| 4 | * Copyright (C) 2010 Nikias Bassen <nikias@gmx.li> | 5 | * Copyright (C) 2010 Nikias Bassen <nikias@gmx.li> |
| 5 | * | 6 | * |
| @@ -128,7 +129,7 @@ void print_usage(int argc, char **argv) | |||
| 128 | 129 | ||
| 129 | name = strrchr(argv[0], '/'); | 130 | name = strrchr(argv[0], '/'); |
| 130 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); | 131 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); |
| 131 | printf("Gets a screenshot from the connected iPhone/iPod Touch.\n"); | 132 | printf("Gets a screenshot from a device.\n"); |
| 132 | printf("The screenshot is saved as a TIFF image in the current directory.\n"); | 133 | printf("The screenshot is saved as a TIFF image in the current directory.\n"); |
| 133 | printf("NOTE: A mounted developer disk image is required on the device, otherwise\n"); | 134 | printf("NOTE: A mounted developer disk image is required on the device, otherwise\n"); |
| 134 | printf("the screenshotr service is not available.\n\n"); | 135 | printf("the screenshotr service is not available.\n\n"); |
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index abaef47..393c88e 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
| @@ -164,7 +164,7 @@ void print_usage(int argc, char **argv) | |||
| 164 | 164 | ||
| 165 | name = strrchr(argv[0], '/'); | 165 | name = strrchr(argv[0], '/'); |
| 166 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); | 166 | printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); |
| 167 | printf("Relay syslog of a connected iPhone/iPod Touch.\n\n"); | 167 | printf("Relay syslog of a connected device.\n\n"); |
| 168 | printf(" -d, --debug\t\tenable communication debugging\n"); | 168 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 169 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 169 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); |
| 170 | printf(" -h, --help\t\tprints usage information\n"); | 170 | printf(" -h, --help\t\tprints usage information\n"); |
