diff options
| author | 2020-06-04 02:46:09 +0200 | |
|---|---|---|
| committer | 2020-06-04 02:46:09 +0200 | |
| commit | bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e (patch) | |
| tree | 2583c0ccae9fa2f1b3606118b49bc530749777f9 /tools/idevicedate.c | |
| parent | e1cfe7f6d431b233a151a20b9efc8a8ccb34ab51 (diff) | |
| download | libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.gz libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.bz2 | |
Unify usage output in all tools and add bugreport URL
Diffstat (limited to 'tools/idevicedate.c')
| -rw-r--r-- | tools/idevicedate.c | 11 |
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 | ||
| 64 | int main(int argc, char *argv[]) | 69 | int main(int argc, char *argv[]) |
