diff options
Diffstat (limited to 'tools/idevicenotificationproxy.c')
| -rw-r--r-- | tools/idevicenotificationproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicenotificationproxy.c b/tools/idevicenotificationproxy.c index 5e4ac9a..72b406c 100644 --- a/tools/idevicenotificationproxy.c +++ b/tools/idevicenotificationproxy.c | |||
| @@ -70,7 +70,7 @@ static void print_usage(int argc, char **argv) | |||
| 70 | printf("\n"); | 70 | printf("\n"); |
| 71 | printf(" The following OPTIONS are accepted:\n"); | 71 | printf(" The following OPTIONS are accepted:\n"); |
| 72 | printf(" -d, --debug\t\tenable communication debugging\n"); | 72 | printf(" -d, --debug\t\tenable communication debugging\n"); |
| 73 | printf(" -u, --udid UDID\ttarget specific device by its 40-digit device UDID\n"); | 73 | printf(" -u, --udid UDID\ttarget specific device by UDID\n"); |
| 74 | printf(" -h, --help\t\tprints usage information\n"); | 74 | printf(" -h, --help\t\tprints usage information\n"); |
| 75 | printf("\n"); | 75 | printf("\n"); |
| 76 | printf("Homepage: <" PACKAGE_URL ">\n"); | 76 | printf("Homepage: <" PACKAGE_URL ">\n"); |
| @@ -114,7 +114,7 @@ int main(int argc, char *argv[]) | |||
| 114 | } | 114 | } |
| 115 | else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--udid")) { | 115 | else if (!strcmp(argv[i], "-u") || !strcmp(argv[i], "--udid")) { |
| 116 | i++; | 116 | i++; |
| 117 | if (!argv[i] || (strlen(argv[i]) != 40)) { | 117 | if (!argv[i] || !*argv[i]) { |
| 118 | print_usage(argc, argv); | 118 | print_usage(argc, argv); |
| 119 | result = 0; | 119 | result = 0; |
| 120 | goto cleanup; | 120 | goto cleanup; |
