dovecot-2.0-pigeonhole: Sieve tools: fixed help text for sieve-t...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Fri Oct 1 20:05:02 EEST 2010
details: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/e0c8354f8b21
changeset: 1439:e0c8354f8b21
user: Stephan Bosch <stephan at rename-it.nl>
date: Fri Oct 01 19:03:08 2010 +0200
description:
Sieve tools: fixed help text for sieve-test command and some minor adjustments.
diffstat:
src/lib-sieve-tool/sieve-tool.c | 3 ++-
src/sieve-tools/sieve-test.c | 12 ++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r 37f5c82f33c2 -r e0c8354f8b21 src/lib-sieve-tool/sieve-tool.c
--- a/src/lib-sieve-tool/sieve-tool.c Thu Sep 30 23:21:54 2010 +0200
+++ b/src/lib-sieve-tool/sieve-tool.c Fri Oct 01 19:03:08 2010 +0200
@@ -220,7 +220,8 @@
{
enum mail_storage_service_flags storage_service_flags =
MAIL_STORAGE_SERVICE_FLAG_NO_CHDIR |
- MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT;
+ MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT |
+ MAIL_STORAGE_SERVICE_FLAG_USE_SYSEXITS;
struct mail_storage_service_input service_input;
const char *username = tool->username;
const char *homedir = tool->homedir;
diff -r 37f5c82f33c2 -r e0c8354f8b21 src/sieve-tools/sieve-test.c
--- a/src/sieve-tools/sieve-test.c Thu Sep 30 23:21:54 2010 +0200
+++ b/src/sieve-tools/sieve-test.c Fri Oct 01 19:03:08 2010 +0200
@@ -44,11 +44,11 @@
static void print_help(void)
{
printf(
-"Usage: sieve-test [-C] [-d <dump-filename>] [-e] [-f <envelope-sender>]\n"
-" [-l <mail-location>] [-m <default-mailbox>]\n"
+"Usage: sieve-test [-c <config-file>] [-C] [-D] [-d <dump-filename>] [-e]\n"
+" [-f <envelope-sender>] [-l <mail-location>]\n"
+" [-m <default-mailbox>] [-P <plugin>]\n"
" [-r <recipient-address>] [-s <script-file>]\n"
-" [-t <trace-filename>] [-T <trace-option>]\n"
-" [-P <plugin>] [-x <extensions>]\n"
+" [-t <trace-file>] [-T <trace-option>] [-x <extensions>]\n"
" <script-file> <mail-file>\n"
);
}
@@ -133,11 +133,11 @@
while ((c = sieve_tool_getopt(sieve_tool)) > 0) {
switch (c) {
case 'r':
- /* destination address */
+ /* original recipient address */
recipient = optarg;
break;
case 'a':
- /* final destination address */
+ /* final recipient address */
final_recipient = optarg;
break;
case 'f':
More information about the dovecot-cvs
mailing list