summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicebackup.c')
-rw-r--r--tools/idevicebackup.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c
index de08295..c55301c 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -665,16 +665,20 @@ static void print_usage(int argc, char **argv)
665 char *name = NULL; 665 char *name = NULL;
666 name = strrchr(argv[0], '/'); 666 name = strrchr(argv[0], '/');
667 printf("Usage: %s [OPTIONS] CMD [DIRECTORY]\n", (name ? name + 1: argv[0])); 667 printf("Usage: %s [OPTIONS] CMD [DIRECTORY]\n", (name ? name + 1: argv[0]));
668 printf("Create or restore backup from the current or specified directory.\n\n"); 668 printf("\n");
669 printf("commands:\n"); 669 printf("Create or restore backup from the current or specified directory.\n");
670 printf("\n");
671 printf("CMD:\n");
670 printf(" backup\tSaves a device backup into DIRECTORY\n"); 672 printf(" backup\tSaves a device backup into DIRECTORY\n");
671 printf(" restore\tRestores a device backup from DIRECTORY.\n\n"); 673 printf(" restore\tRestores a device backup from DIRECTORY.\n");
672 printf("options:\n"); 674 printf("\n");
675 printf("OPTIONS:\n");
673 printf(" -d, --debug\t\tenable communication debugging\n"); 676 printf(" -d, --debug\t\tenable communication debugging\n");
674 printf(" -u, --udid UDID\ttarget specific device by UDID\n"); 677 printf(" -u, --udid UDID\ttarget specific device by UDID\n");
675 printf(" -h, --help\t\tprints usage information\n"); 678 printf(" -h, --help\t\tprints usage information\n");
676 printf("\n"); 679 printf("\n");
677 printf("Homepage: <" PACKAGE_URL ">\n"); 680 printf("Homepage: <" PACKAGE_URL ">\n");
681 printf("Bug Reports: <" PACKAGE_BUGREPORT ">\n");
678} 682}
679 683
680int main(int argc, char *argv[]) 684int main(int argc, char *argv[])