diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/idevicebackup2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index 3a4de67..10fad81 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
| @@ -1409,7 +1409,7 @@ static void print_usage(int argc, char **argv) | |||
| 1409 | printf(" --full\t\tforce full backup from device.\n"); | 1409 | printf(" --full\t\tforce full backup from device.\n"); |
| 1410 | printf(" restore\trestore last backup to the device\n"); | 1410 | printf(" restore\trestore last backup to the device\n"); |
| 1411 | printf(" --system\t\trestore system files, too.\n"); | 1411 | printf(" --system\t\trestore system files, too.\n"); |
| 1412 | printf(" --no-reboot\t\tdo NOT reboot the system when done (default: yes).\n"); | 1412 | printf(" --no-reboot\t\tdo NOT reboot the device when done (default: yes).\n"); |
| 1413 | printf(" --copy\t\tcreate a copy of backup folder before restoring.\n"); | 1413 | printf(" --copy\t\tcreate a copy of backup folder before restoring.\n"); |
| 1414 | printf(" --settings\t\trestore device settings from the backup.\n"); | 1414 | printf(" --settings\t\trestore device settings from the backup.\n"); |
| 1415 | printf(" --remove\t\tremove items which are not being restored\n"); | 1415 | printf(" --remove\t\tremove items which are not being restored\n"); |
| @@ -2499,9 +2499,9 @@ files_out: | |||
| 2499 | } | 2499 | } |
| 2500 | break; | 2500 | break; |
| 2501 | case CMD_RESTORE: | 2501 | case CMD_RESTORE: |
| 2502 | if ((cmd_flags & CMD_FLAG_RESTORE_NO_REBOOT) == 0) | ||
| 2503 | PRINT_VERBOSE(1, "The device should reboot now.\n"); | ||
| 2504 | if (operation_ok) { | 2502 | if (operation_ok) { |
| 2503 | if ((cmd_flags & CMD_FLAG_RESTORE_NO_REBOOT) == 0) | ||
| 2504 | PRINT_VERBOSE(1, "The device should reboot now.\n"); | ||
| 2505 | PRINT_VERBOSE(1, "Restore Successful.\n"); | 2505 | PRINT_VERBOSE(1, "Restore Successful.\n"); |
| 2506 | } else { | 2506 | } else { |
| 2507 | PRINT_VERBOSE(1, "Restore Failed (Error Code %d).\n", -result_code); | 2507 | PRINT_VERBOSE(1, "Restore Failed (Error Code %d).\n", -result_code); |
