summaryrefslogtreecommitdiffstats
path: root/tools/idevicename.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/idevicename.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/idevicename.c')
-rw-r--r--tools/idevicename.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/idevicename.c b/tools/idevicename.c
index a66f5aa..af80dcc 100644
--- a/tools/idevicename.c
+++ b/tools/idevicename.c
@@ -38,13 +38,16 @@
static void print_usage(void)
{
printf("Usage: idevicename [OPTIONS] [NAME]\n");
+ printf("\n");
printf("Display the device name or set it to NAME if specified.\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(" -h, --help\t\tprint 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)