diff options
| author | 2020-06-04 02:46:09 +0200 | |
|---|---|---|
| committer | 2020-06-04 02:46:09 +0200 | |
| commit | bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e (patch) | |
| tree | 2583c0ccae9fa2f1b3606118b49bc530749777f9 /tools/idevicecrashreport.c | |
| parent | e1cfe7f6d431b233a151a20b9efc8a8ccb34ab51 (diff) | |
| download | libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.gz libimobiledevice-bc2a1554dfeeb8c7e20d1c3b80e26ec69759743e.tar.bz2 | |
Unify usage output in all tools and add bugreport URL
Diffstat (limited to 'tools/idevicecrashreport.c')
| -rw-r--r-- | tools/idevicecrashreport.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c index 5d2e21d..8600ad1 100644 --- a/tools/idevicecrashreport.c +++ b/tools/idevicecrashreport.c | |||
| @@ -302,14 +302,18 @@ static void print_usage(int argc, char **argv) | |||
| 302 | 302 | ||
| 303 | name = strrchr(argv[0], '/'); | 303 | name = strrchr(argv[0], '/'); |
| 304 | printf("Usage: %s [OPTIONS] DIRECTORY\n", (name ? name + 1: argv[0])); | 304 | printf("Usage: %s [OPTIONS] DIRECTORY\n", (name ? name + 1: argv[0])); |
| 305 | printf("Move crash reports from device to a local DIRECTORY.\n\n"); | 305 | printf("\n"); |
| 306 | printf("Move crash reports from device to a local DIRECTORY.\n"); | ||
| 307 | printf("\n"); | ||
| 308 | printf("OPTIONS:\n"); | ||
| 306 | printf(" -e, --extract\t\textract raw crash report into separate '.crash' file\n"); | 309 | printf(" -e, --extract\t\textract raw crash report into separate '.crash' file\n"); |
| 307 | printf(" -k, --keep\t\tcopy but do not remove crash reports from device\n"); | 310 | printf(" -k, --keep\t\tcopy but do not remove crash reports from device\n"); |
| 308 | printf(" -d, --debug\t\tenable communication debugging\n"); | 311 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 309 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); | 312 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); |
| 310 | printf(" -h, --help\t\tprints usage information\n"); | 313 | printf(" -h, --help\t\tprints usage information\n"); |
| 311 | printf("\n"); | 314 | printf("\n"); |
| 312 | printf("Homepage: <" PACKAGE_URL ">\n"); | 315 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 316 | printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); | ||
| 313 | } | 317 | } |
| 314 | 318 | ||
| 315 | int main(int argc, char* argv[]) | 319 | int main(int argc, char* argv[]) |
