summaryrefslogtreecommitdiffstats
path: root/tools/ideviceimagemounter.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/ideviceimagemounter.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/ideviceimagemounter.c')
-rw-r--r--tools/ideviceimagemounter.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c
index 74df5e4..3f6f42e 100644
--- a/tools/ideviceimagemounter.c
+++ b/tools/ideviceimagemounter.c
@@ -64,8 +64,11 @@ static void print_usage(int argc, char **argv)
64 char *name = NULL; 64 char *name = NULL;
65 65
66 name = strrchr(argv[0], '/'); 66 name = strrchr(argv[0], '/');
67 printf("Usage: %s [OPTIONS] IMAGE_FILE IMAGE_SIGNATURE_FILE\n\n", (name ? name + 1: argv[0])); 67 printf("Usage: %s [OPTIONS] IMAGE_FILE IMAGE_SIGNATURE_FILE\n", (name ? name + 1: argv[0]));
68 printf("Mounts the specified disk image on the device.\n\n"); 68 printf("\n");
69 printf("Mounts the specified disk image on the device.\n");
70 printf("\n");
71 printf("OPTIONS:\n");
69 printf(" -u, --udid UDID\ttarget specific device by UDID\n"); 72 printf(" -u, --udid UDID\ttarget specific device by UDID\n");
70 printf(" -l, --list\t\tList mount information\n"); 73 printf(" -l, --list\t\tList mount information\n");
71 printf(" -t, --imagetype\tImage type to use, default is 'Developer'\n"); 74 printf(" -t, --imagetype\tImage type to use, default is 'Developer'\n");
@@ -73,7 +76,8 @@ static void print_usage(int argc, char **argv)
73 printf(" -d, --debug\t\tenable communication debugging\n"); 76 printf(" -d, --debug\t\tenable communication debugging\n");
74 printf(" -h, --help\t\tprints usage information\n"); 77 printf(" -h, --help\t\tprints usage information\n");
75 printf("\n"); 78 printf("\n");
76 printf("Homepage: <" PACKAGE_URL ">\n"); 79 printf("Homepage: <" PACKAGE_URL ">\n");
80 printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n");
77} 81}
78 82
79static void parse_opts(int argc, char **argv) 83static void parse_opts(int argc, char **argv)