diff options
Diffstat (limited to 'tools/idevice_id.c')
| -rw-r--r-- | tools/idevice_id.c | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/tools/idevice_id.c b/tools/idevice_id.c index b746491..7987705 100644 --- a/tools/idevice_id.c +++ b/tools/idevice_id.c | |||
| @@ -40,16 +40,21 @@ static void print_usage(int argc, char **argv, int is_error) | |||
| 40 | name = strrchr(argv[0], '/'); | 40 | name = strrchr(argv[0], '/'); |
| 41 | fprintf(is_error ? stderr : stdout, "Usage: %s [OPTIONS] [UDID]\n", (name ? name + 1: argv[0])); | 41 | fprintf(is_error ? stderr : stdout, "Usage: %s [OPTIONS] [UDID]\n", (name ? name + 1: argv[0])); |
| 42 | fprintf(is_error ? stderr : stdout, | 42 | fprintf(is_error ? stderr : stdout, |
| 43 | "Prints device name or a list of attached devices.\n\n" \ | 43 | "\n" \ |
| 44 | " If UDID is given, the name of the connected device with that UDID" \ | 44 | "Prints device name or a list of attached devices.\n" \ |
| 45 | " will be retrieved.\n\n" \ | 45 | "\n" \ |
| 46 | " -l, --list list UDIDs of all devices attached via USB\n" \ | 46 | " If UDID is given, the name of the connected device with that UDID" \ |
| 47 | " -n, --network list UDIDs of all devices available via network\n" \ | 47 | " will be retrieved.\n" \ |
| 48 | " -d, --debug enable communication debugging\n" \ | 48 | "\n" \ |
| 49 | " -h, --help prints usage information\n" \ | 49 | "OPTIONS:\n" \ |
| 50 | "\n" \ | 50 | " -l, --list list UDIDs of all devices attached via USB\n" \ |
| 51 | "Homepage: <" PACKAGE_URL ">\n" | 51 | " -n, --network list UDIDs of all devices available via network\n" \ |
| 52 | ); | 52 | " -d, --debug enable communication debugging\n" \ |
| 53 | " -h, --help prints usage information\n" \ | ||
| 54 | "\n" \ | ||
| 55 | "Homepage: <" PACKAGE_URL ">\n" \ | ||
| 56 | "Bug Reports: <" PACKAGE_BUGREPORT ">\n" | ||
| 57 | ); | ||
| 53 | } | 58 | } |
| 54 | 59 | ||
| 55 | int main(int argc, char **argv) | 60 | int main(int argc, char **argv) |
