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/idevicedebug.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'tools/idevicedebug.c') diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index 71da0bf..b946d2c 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c @@ -186,17 +186,20 @@ static void print_usage(int argc, char **argv) char *name = NULL; name = strrchr(argv[0], '/'); printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0])); - printf("Interact with the debugserver service of a device.\n\n"); - printf(" Where COMMAND is one of:\n"); + printf("\n"); + printf("Interact with the debugserver service of a device.\n"); + printf("\n"); + printf("Where COMMAND is one of:\n"); printf(" run BUNDLEID [ARGS...]\trun app with BUNDLEID and optional ARGS on device.\n"); printf("\n"); - printf(" The following OPTIONS are accepted:\n"); + printf("The following OPTIONS are accepted:\n"); printf(" -e, --env NAME=VALUE\tset environment variable NAME to VALUE\n"); printf(" -u, --udid UDID\ttarget specific device by UDID\n"); printf(" -d, --debug\t\tenable communication debugging\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