diff --git a/Tools/SOGoToolBackup.m b/Tools/SOGoToolBackup.m index 9fc85c64b..961f4e8ff 100644 --- a/Tools/SOGoToolBackup.m +++ b/Tools/SOGoToolBackup.m @@ -1,6 +1,6 @@ /* SOGoToolBackup.m - this file is part of SOGo * - * Copyright (C) 2009 Inverse inc. + * Copyright (C) 2009-2010 Inverse inc. * * Author: Wolfgang Sourdeau * @@ -91,8 +91,9 @@ - (void) usage { fprintf (stderr, "backup directory ALL|user1 [user2] ...\n\n" - " folder the folder where backup files will be stored\n" - " user the user of whom to save the data\n"); + " directory the target directory where backup files will be stored\n" + " user the user of whom to save the data or ALL for everybody\n\n" + "Example: /usr/sbin/sogo-tool backup /tmp/foo ALL\n"); } - (BOOL) checkDirectory diff --git a/Tools/SOGoToolRestore.m b/Tools/SOGoToolRestore.m index 21205c1c9..f6e2375ad 100644 --- a/Tools/SOGoToolRestore.m +++ b/Tools/SOGoToolRestore.m @@ -1,6 +1,6 @@ /* SOGoToolRestore.m - this file is part of SOGo * - * Copyright (C) 2009 Inverse inc. + * Copyright (C) 2009-2010 Inverse inc. * * Author: Wolfgang Sourdeau * @@ -105,8 +105,12 @@ typedef enum SOGoToolRestoreMode { - (void) usage { fprintf (stderr, "restore [-l|-f/-F folder/ALL|-p] directory user\n\n" - " folder the folder where backup files will be stored\n" - " user the user of whom to save the data\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" + " -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"); } - (BOOL) checkDirectory