summaryrefslogtreecommitdiffstats
path: root/tools/idevicedate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicedate.c')
-rw-r--r--tools/idevicedate.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/idevicedate.c b/tools/idevicedate.c
index 6dddc18..9c14fdf 100644
--- a/tools/idevicedate.c
+++ b/tools/idevicedate.c
@@ -49,16 +49,21 @@ static void print_usage(int argc, char **argv)
49 49
50 name = strrchr(argv[0], '/'); 50 name = strrchr(argv[0], '/');
51 printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); 51 printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0]));
52 printf("Display the current date or set it on a device.\n\n"); 52 printf("\n");
53 printf("Display the current date or set it on a device.\n");
54 printf("\n");
53 printf("NOTE: Setting the time on iOS 6 and later is only supported\n"); 55 printf("NOTE: Setting the time on iOS 6 and later is only supported\n");
54 printf(" in the setup wizard screens before device activation.\n\n"); 56 printf(" in the setup wizard screens before device activation.\n");
57 printf("\n");
58 printf("OPTIONS:\n");
55 printf(" -d, --debug\t\tenable communication debugging\n"); 59 printf(" -d, --debug\t\tenable communication debugging\n");
56 printf(" -u, --udid UDID\ttarget specific device by UDID\n"); 60 printf(" -u, --udid UDID\ttarget specific device by UDID\n");
57 printf(" -s, --set TIMESTAMP\tset UTC time described by TIMESTAMP\n"); 61 printf(" -s, --set TIMESTAMP\tset UTC time described by TIMESTAMP\n");
58 printf(" -c, --sync\t\tset time of device to current system time\n"); 62 printf(" -c, --sync\t\tset time of device to current system time\n");
59 printf(" -h, --help\t\tprints usage information\n"); 63 printf(" -h, --help\t\tprints usage information\n");
60 printf("\n"); 64 printf("\n");
61 printf("Homepage: <" PACKAGE_URL ">\n"); 65 printf("Homepage: <" PACKAGE_URL ">\n");
66 printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n");
62} 67}
63 68
64int main(int argc, char *argv[]) 69int main(int argc, char *argv[])