From a1ec12a83328bbaf7e0d4ebc496704270dc192f8 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 22 Jun 2010 19:37:56 +0000 Subject: [PATCH] Slight improvement over previous commit Monotone-Parent: a0586e26adb36e48a7abc91b58465c3ccf2b3486 Monotone-Revision: 14288343158630504eed5d7bd9f00d527cc97138 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-06-22T19:37:56 Monotone-Branch: ca.inverse.sogo --- Tools/SOGoToolRestore.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tools/SOGoToolRestore.m b/Tools/SOGoToolRestore.m index f6e2375ad..89edf14ee 100644 --- a/Tools/SOGoToolRestore.m +++ b/Tools/SOGoToolRestore.m @@ -104,13 +104,15 @@ typedef enum SOGoToolRestoreMode { - (void) usage { - fprintf (stderr, "restore [-l|-f/-F folder/ALL|-p] directory user\n\n" + fprintf (stderr, "restore [-l|-p|-f/-F folder/ALL|-p] directory user\n\n" " directory the directory where backup files were initially stored\n" " user the user of whom to restore the data\n" " -l flag used to list folders to restore\n" + " -p flag used to restore only the user's preferences\n" " -f/-F flag used to specify which folder to restore, ALL for everything\n\n" "Examples: /usr/local/sbin/sogo-tool restore -l /tmp/foo bob\n" - " /usr/local/sbin/sogo-tool restore -f Contacts/personal /tmp/foo bob\n"); + " /usr/local/sbin/sogo-tool restore -f Contacts/personal /tmp/foo bob\n" + " /usr/local/sbin/sogo-tool restore -p /tmp/foo bob\n"); } - (BOOL) checkDirectory