summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-04-07 15:50:04 +0200
committerGravatar Martin Szulecki2012-04-07 15:50:04 +0200
commit1379f42c50ddfadea776c9e253c5df4fcc93dacb (patch)
tree96d5b1221a43160b33cb77fe6769be746bb0837a
parentb9620d31217afd09453a65dba295638271cc43be (diff)
downloadlibimobiledevice-1379f42c50ddfadea776c9e253c5df4fcc93dacb.tar.gz
libimobiledevice-1379f42c50ddfadea776c9e253c5df4fcc93dacb.tar.bz2
Update comments of tools to use "device" instead of naming specific models
-rw-r--r--tools/idevice_id.c2
-rw-r--r--tools/idevicedate.c4
-rw-r--r--tools/ideviceimagemounter.c5
-rw-r--r--tools/ideviceinfo.c2
-rw-r--r--tools/idevicepair.c4
-rw-r--r--tools/idevicescreenshot.c7
-rw-r--r--tools/idevicesyslog.c2
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)
name = strrchr(argv[0], '/');
printf("Usage: %s [OPTIONS] [UDID]\n", (name ? name + 1: argv[0]));
- printf("Prints device name or a list of attached iPhone/iPod Touch devices.\n\n");
+ printf("Prints device name or a list of attached devices.\n\n");
printf(" The UDID is a 40-digit hexadecimal number of the device\n");
printf(" for which the name should be retrieved.\n\n");
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 @@
/*
* idevicedate.c
- * Simple utility to get and set the clock on an iDevice
+ * Simple utility to get and set the clock on a device
*
* Copyright (c) 2011 Martin Szulecki All Rights Reserved.
*
@@ -42,7 +42,7 @@ static void print_usage(int argc, char **argv)
name = strrchr(argv[0], '/');
printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));
- printf("Display the current date or set it on an iDevice.\n\n");
+ printf("Display the current date or set it on a device.\n\n");
printf(" -d, --debug\t\tenable communication debugging\n");
printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n");
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 @@
-/**
- * ideviceimagemounter -- Mount developer/debug disk images on the iPhone/iPod
+/*
+ * ideviceimagemounter.c
+ * Mount developer/debug disk images on the device
*
* Copyright (C) 2010 Nikias Bassen <nikias@gmx.li>
*
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)
name = strrchr(argv[0], '/');
printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));
- printf("Show information about a connected iPhone/iPod Touch.\n\n");
+ printf("Show information about a connected device.\n\n");
printf(" -d, --debug\t\tenable communication debugging\n");
printf(" -s, --simple\t\tuse a simple connection to avoid auto-pairing with the device\n");
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 @@
/*
* idevicepair.c
- * Simple utility to pair/unpair an iDevice
+ * Manage pairings with devices and this host
*
* Copyright (c) 2010 Nikias Bassen All Rights Reserved.
*
@@ -35,7 +35,7 @@ static void print_usage(int argc, char **argv)
char *name = NULL;
name = strrchr(argv[0], '/');
- printf("\n%s - Manage pairings with iPhone/iPod Touch/iPad devices and this host.\n\n", (name ? name + 1: argv[0]));
+ printf("\n%s - Manage pairings with devices and this host.\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(" 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 @@
-/**
- * idevicescreenshot -- Gets a screenshot from a connected iPhone/iPod Touch
+/*
+ * idevicescreenshot.c
+ * Gets a screenshot from a device
*
* Copyright (C) 2010 Nikias Bassen <nikias@gmx.li>
*
@@ -128,7 +129,7 @@ void print_usage(int argc, char **argv)
name = strrchr(argv[0], '/');
printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));
- printf("Gets a screenshot from the connected iPhone/iPod Touch.\n");
+ printf("Gets a screenshot from a device.\n");
printf("The screenshot is saved as a TIFF image in the current directory.\n");
printf("NOTE: A mounted developer disk image is required on the device, otherwise\n");
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)
name = strrchr(argv[0], '/');
printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));
- printf("Relay syslog of a connected iPhone/iPod Touch.\n\n");
+ printf("Relay syslog of a connected device.\n\n");
printf(" -d, --debug\t\tenable communication debugging\n");
printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n");
printf(" -h, --help\t\tprints usage information\n");