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