diff options
author | Martin Szulecki | 2020-06-04 02:14:26 +0200 |
---|---|---|
committer | Martin Szulecki | 2020-06-04 02:14:26 +0200 |
commit | 2de9d617cc35f75030ed033cb8f1a563be943700 (patch) | |
tree | 680ae4ccbd6032ab723a549ec3a009da8892cbb4 /tools | |
parent | 4790a844f5d8d760b9f7d3f707663b352dc94236 (diff) | |
download | libirecovery-2de9d617cc35f75030ed033cb8f1a563be943700.tar.gz libirecovery-2de9d617cc35f75030ed033cb8f1a563be943700.tar.bz2 |
Unify irecovery usage output with other tools and add bugreport URL
Diffstat (limited to 'tools')
-rw-r--r-- | tools/irecovery.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c index 91d1d48..c32a7f9 100644 --- a/tools/irecovery.c +++ b/tools/irecovery.c @@ -353,8 +353,10 @@ static void print_usage(int argc, char **argv) { char *name = NULL; name = strrchr(argv[0], '/'); printf("Usage: %s [OPTIONS]\n", (name ? name + 1: argv[0])); - printf("Interact with an iOS device in DFU or recovery mode.\n\n"); - printf("options:\n"); + printf("\n"); + printf("Interact with an iOS device in DFU or recovery mode.\n"); + printf("\n"); + printf("OPTIONS:\n"); printf(" -i ECID\tconnect to specific device by its ECID\n"); printf(" -c CMD\trun CMD on device\n"); printf(" -m\t\tprint current device mode\n"); @@ -368,7 +370,8 @@ static void print_usage(int argc, char **argv) { printf(" -v\t\tenable verbose output, repeat for higher verbosity\n"); printf(" -h\t\tprints this 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[]) { |