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
This commit is contained in:
Ludovic Marcotte
2010-06-22 19:37:56 +00:00
parent fd9839a1e7
commit a1ec12a833
+4 -2
View File
@@ -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