From 633c7be22857ecca4c18aaff3b66f363a3cf708c Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 23 Jun 2010 12:08:09 +0000 Subject: [PATCH] Stripped the binary's path Monotone-Parent: 14288343158630504eed5d7bd9f00d527cc97138 Monotone-Revision: 8e1a3af5628f31703023508d2fb742a933691c15 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-06-23T12:08:09 Monotone-Branch: ca.inverse.sogo --- Tools/SOGoToolBackup.m | 2 +- Tools/SOGoToolRestore.m | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/SOGoToolBackup.m b/Tools/SOGoToolBackup.m index 961f4e8ff..88ed1ac62 100644 --- a/Tools/SOGoToolBackup.m +++ b/Tools/SOGoToolBackup.m @@ -93,7 +93,7 @@ fprintf (stderr, "backup directory ALL|user1 [user2] ...\n\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"); + "Example: sogo-tool backup /tmp/foo ALL\n"); } - (BOOL) checkDirectory diff --git a/Tools/SOGoToolRestore.m b/Tools/SOGoToolRestore.m index 89edf14ee..2949b4fc7 100644 --- a/Tools/SOGoToolRestore.m +++ b/Tools/SOGoToolRestore.m @@ -110,9 +110,9 @@ typedef enum SOGoToolRestoreMode { " -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 -p /tmp/foo bob\n"); + "Examples: sogo-tool restore -l /tmp/foo bob\n" + " sogo-tool restore -f Contacts/personal /tmp/foo bob\n" + " sogo-tool restore -p /tmp/foo bob\n"); } - (BOOL) checkDirectory