diff options
author | Martin Szulecki | 2020-06-04 02:46:09 +0200 |
---|---|---|
committer | Martin Szulecki | 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) name = strrchr(argv[0], '/'); printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); - printf("Display the current date or set it on a device.\n\n"); + printf("\n"); + printf("Display the current date or set it on a device.\n"); + printf("\n"); printf("NOTE: Setting the time on iOS 6 and later is only supported\n"); - printf(" in the setup wizard screens before device activation.\n\n"); + printf(" in the setup wizard screens before device activation.\n"); + printf("\n"); + printf("OPTIONS:\n"); printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -u, --udid UDID\ttarget specific device by UDID\n"); printf(" -s, --set TIMESTAMP\tset UTC time described by TIMESTAMP\n"); printf(" -c, --sync\t\tset time of device to current system time\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); - printf("Homepage: <" PACKAGE_URL ">\n"); + printf("Homepage: <" PACKAGE_URL ">\n"); + printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); } int main(int argc, char *argv[]) |