summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-26 15:07:15 +0200
committerGravatar Martin Szulecki2011-04-26 15:07:15 +0200
commitd2a15c5f6f0bd9cfbd4fbfe3d5139f5ac6e85d94 (patch)
tree47b1f1f447a16a732f2738135f7f11dfcb392cc3 /tools
parent8dfc72fed96e3a2930a907ac01b17928869620dc (diff)
downloadlibimobiledevice-d2a15c5f6f0bd9cfbd4fbfe3d5139f5ac6e85d94.tar.gz
libimobiledevice-d2a15c5f6f0bd9cfbd4fbfe3d5139f5ac6e85d94.tar.bz2
idevicebackup4: Add info and list commands to usage output and make DIRECTORY argument mandatory
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup4.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/idevicebackup4.c b/tools/idevicebackup4.c
index 980cc75..4235e08 100644
--- a/tools/idevicebackup4.c
+++ b/tools/idevicebackup4.c
@@ -941,11 +941,13 @@ static void print_usage(int argc, char **argv)
{
char *name = NULL;
name = strrchr(argv[0], '/');
- printf("Usage: %s [OPTIONS] CMD [DIRECTORY]\n", (name ? name + 1: argv[0]));
+ printf("Usage: %s [OPTIONS] CMD DIRECTORY\n", (name ? name + 1: argv[0]));
printf("Create or restore backup from the current or specified directory.\n\n");
printf("commands:\n");
- printf(" backup\tSaves a device backup into DIRECTORY\n");
- printf(" restore\tRestores a device backup from DIRECTORY.\n\n");
+ printf(" backup\tSaves a device backup\n");
+ printf(" restore\tRestores a device backup\n");
+ printf(" info\t\tShows details about a completed device backup\n");
+ printf(" list\t\tList files of completed device backup in CSV format\n\n");
printf("options:\n");
printf(" -d, --debug\t\tenable communication debugging\n");
printf(" -u, --uuid UUID\ttarget specific device by its 40-digit device UUID\n");