summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-28 20:02:26 +0200
committerGravatar Martin Szulecki2011-04-28 20:02:26 +0200
commitd81887cf6a0d067d8b345d8077027ccd634c1c17 (patch)
treea838448c1275413d6f8745fb78f76628eb7ed85c
parentbc03e4c80d1035a633ae0c921c44d5725785b8aa (diff)
downloadlibimobiledevice-d81887cf6a0d067d8b345d8077027ccd634c1c17.tar.gz
libimobiledevice-d81887cf6a0d067d8b345d8077027ccd634c1c17.tar.bz2
idevicebackup2: Update man page and usage to reflect latest status
-rw-r--r--docs/idevicebackup2.120
-rw-r--r--tools/idevicebackup2.c2
2 files changed, 20 insertions, 2 deletions
diff --git a/docs/idevicebackup2.1 b/docs/idevicebackup2.1
index d21bef5..a638b8f 100644
--- a/docs/idevicebackup2.1
+++ b/docs/idevicebackup2.1
@@ -3,7 +3,7 @@
idevicebackup2 \- Create or restore backup for iDevices running iOS4+.
.SH SYNOPSIS
.B idevicebackup2
-[OPTIONS] CMD DIRECTORY
+[OPTIONS] CMD [CMDOPTIONS] DIRECTORY
.SH DESCRIPTION
@@ -28,13 +28,31 @@ create backup for the device.
.B restore
restore last backup to the device.
.TP
+.B \t\-\-system
+restore system files, too.
+.TP
+.BI \t\-\-reboot
+reboot the system when done.
+.TP
+.B \t\-\-copy
+create a copy of backup folder before restoring.
+.TP
+.B \t\-\-settings
+restore device settings from the backup.
+.TP
.B info
show details about last completed backup of device.
.TP
.B list
list files of last completed backup in CSV format.
+.TP
+.B unback
+unpack a completed backup in DIRECTORY/_unback_/.
.SH AUTHORS
Martin Szulecki
Nikias Bassen
+
+.SH SEE ALSO
+idevicebackup(1)
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 1219601..7ddda9e 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1061,7 +1061,7 @@ static void print_usage(int argc, char **argv)
printf(" --settings\trestore device settings from the backup.\n");
printf(" info\t\tshow details about last completed backup of device\n");
printf(" list\t\tlist files of last completed backup in CSV format\n");
- printf(" unback\tUnpack a completed backup in DIRECTORY/_unback_/\n\n");
+ printf(" unback\tunpack a completed backup in DIRECTORY/_unback_/\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");