diff options
Diffstat (limited to 'tools/idevicedebug.c')
| -rw-r--r-- | tools/idevicedebug.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/idevicedebug.c b/tools/idevicedebug.c index 71da0bf..b946d2c 100644 --- a/tools/idevicedebug.c +++ b/tools/idevicedebug.c | |||
| @@ -186,17 +186,20 @@ static void print_usage(int argc, char **argv) | |||
| 186 | char *name = NULL; | 186 | char *name = NULL; |
| 187 | name = strrchr(argv[0], '/'); | 187 | name = strrchr(argv[0], '/'); |
| 188 | printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0])); | 188 | printf("Usage: %s [OPTIONS] COMMAND\n", (name ? name + 1: argv[0])); |
| 189 | printf("Interact with the debugserver service of a device.\n\n"); | 189 | printf("\n"); |
| 190 | printf(" Where COMMAND is one of:\n"); | 190 | printf("Interact with the debugserver service of a device.\n"); |
| 191 | printf("\n"); | ||
| 192 | printf("Where COMMAND is one of:\n"); | ||
| 191 | printf(" run BUNDLEID [ARGS...]\trun app with BUNDLEID and optional ARGS on device.\n"); | 193 | printf(" run BUNDLEID [ARGS...]\trun app with BUNDLEID and optional ARGS on device.\n"); |
| 192 | printf("\n"); | 194 | printf("\n"); |
| 193 | printf(" The following OPTIONS are accepted:\n"); | 195 | printf("The following OPTIONS are accepted:\n"); |
| 194 | printf(" -e, --env NAME=VALUE\tset environment variable NAME to VALUE\n"); | 196 | printf(" -e, --env NAME=VALUE\tset environment variable NAME to VALUE\n"); |
| 195 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); | 197 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); |
| 196 | printf(" -d, --debug\t\tenable communication debugging\n"); | 198 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 197 | printf(" -h, --help\t\tprints usage information\n"); | 199 | printf(" -h, --help\t\tprints usage information\n"); |
| 198 | printf("\n"); | 200 | printf("\n"); |
| 199 | printf("Homepage: <" PACKAGE_URL ">\n"); | 201 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| 202 | printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n"); | ||
| 200 | } | 203 | } |
| 201 | 204 | ||
| 202 | int main(int argc, char *argv[]) | 205 | int main(int argc, char *argv[]) |
