summaryrefslogtreecommitdiffstats
path: root/tools/idevicedebug.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2020-06-04 02:46:09 +0200
committerGravatar Martin Szulecki2020-06-04 02:46:09 +0200
commitbc2a1554dfeeb8c7e20d1c3b80e26ec69759743e (patch)
tree2583c0ccae9fa2f1b3606118b49bc530749777f9 /tools/idevicedebug.c
parente1cfe7f6d431b233a151a20b9efc8a8ccb34ab51 (diff)
downloadlibimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.gz
libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.bz2
Unify usage output in all tools and add bugreport URL
Diffstat (limited to 'tools/idevicedebug.c')
-rw-r--r--tools/idevicedebug.c11
1 files changed, 7 insertions, 4 deletions
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[])