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/idevicescreenshot.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'tools/idevicescreenshot.c') diff --git a/tools/idevicescreenshot.c b/tools/idevicescreenshot.c index 38d323c..d91e8f4 100644 --- a/tools/idevicescreenshot.c +++ b/tools/idevicescreenshot.c @@ -157,15 +157,20 @@ void print_usage(int argc, char **argv) name = strrchr(argv[0], '/'); printf("Usage: %s [OPTIONS] [FILE]\n", (name ? name + 1: argv[0])); + printf("\n"); printf("Gets a screenshot from a device.\n"); + printf("\n"); printf("The screenshot is saved as a TIFF image with the given FILE name,\n"); printf("where the default name is \"screenshot-DATE.tiff\", e.g.:\n"); - printf(" ./screenshot-2013-12-31-23-59-59.tiff\n\n"); + printf(" ./screenshot-2013-12-31-23-59-59.tiff\n"); + printf("\n"); printf("NOTE: A mounted developer disk image is required on the device, otherwise\n"); - printf("the screenshotr service is not available.\n\n"); + printf("the screenshotr service is not available.\n"); + printf("\n"); printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -u, --udid UDID\ttarget specific device by UDID\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"); } -- cgit v1.1-32-gdbae