From bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 4 Jun 2020 02:46:09 +0200 Subject: Unify usage output in all tools and add bugreport URL --- tools/idevicedate.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tools/idevicedate.c') 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[]) -- cgit v1.1-32-gdbae