From d81887cf6a0d067d8b345d8077027ccd634c1c17 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 28 Apr 2011 20:02:26 +0200 Subject: idevicebackup2: Update man page and usage to reflect latest status --- docs/idevicebackup2.1 | 20 +++++++++++++++++++- tools/idevicebackup2.c | 2 +- 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"); -- cgit v1.1-32-gdbae