diff options
Diffstat (limited to 'tools/idevicescreenshot.c')
| -rw-r--r-- | tools/idevicescreenshot.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/idevicescreenshot.c b/tools/idevicescreenshot.c index 38d323c..d91e8f4 100644 --- a/tools/idevicescreenshot.c +++ b/tools/idevicescreenshot.c | |||
| @@ -157,15 +157,20 @@ void print_usage(int argc, char **argv) | |||
| 157 | 157 | ||
| 158 | name = strrchr(argv[0], '/'); | 158 | name = strrchr(argv[0], '/'); |
| 159 | printf("Usage: %s [OPTIONS] [FILE]\n", (name ? name + 1: argv[0])); | 159 | printf("Usage: %s [OPTIONS] [FILE]\n", (name ? name + 1: argv[0])); |
| 160 | printf("\n"); | ||
| 160 | printf("Gets a screenshot from a device.\n"); | 161 | printf("Gets a screenshot from a device.\n"); |
| 162 | printf("\n"); | ||
| 161 | printf("The screenshot is saved as a TIFF image with the given FILE name,\n"); | 163 | printf("The screenshot is saved as a TIFF image with the given FILE name,\n"); |
| 162 | printf("where the default name is \"screenshot-DATE.tiff\", e.g.:\n"); | 164 | printf("where the default name is \"screenshot-DATE.tiff\", e.g.:\n"); |
| 163 | printf(" ./screenshot-2013-12-31-23-59-59.tiff\n\n"); | 165 | printf(" ./screenshot-2013-12-31-23-59-59.tiff\n"); |
| 166 | printf("\n"); | ||
| 164 | printf("NOTE: A mounted developer disk image is required on the device, otherwise\n"); | 167 | printf("NOTE: A mounted developer disk image is required on the device, otherwise\n"); |
| 165 | printf("the screenshotr service is not available.\n\n"); | 168 | printf("the screenshotr service is not available.\n"); |
| 169 | printf("\n"); | ||
| 166 | printf(" -d, --debug\t\tenable communication debugging\n"); | 170 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 167 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); | 171 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); |
| 168 | printf(" -h, --help\t\tprints usage information\n"); | 172 | printf(" -h, --help\t\tprints usage information\n"); |
| 169 | printf("\n"); | 173 | printf("\n"); |
| 170 | printf("Homepage: <" PACKAGE_URL ">\n"); | 174 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 175 | printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); | ||
| 171 | } | 176 | } |
