summaryrefslogtreecommitdiff
path: root/mail.local
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-02-21 08:56:31 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-02-21 08:56:31 +0000
commit45fad189bc2034ff7afcb8d15b57e7fa24d79860 (patch)
tree3ea1c6590bb1fbd760b9d44cb18fa637258b9fb7 /mail.local
parentdf5021f777480ec9fe8908be1f239ddf037bff8a (diff)
downloadmailutils-45fad189bc2034ff7afcb8d15b57e7fa24d79860.tar.gz
mailutils-45fad189bc2034ff7afcb8d15b57e7fa24d79860.tar.bz2
Add debug flag 'i' for symmetry with sieve. Minor fixes in diagnostic messages
Diffstat (limited to 'mail.local')
-rw-r--r--mail.local/main.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail.local/main.c b/mail.local/main.c
index 229b04355..1b252d356 100644
--- a/mail.local/main.c
+++ b/mail.local/main.c
@@ -55,9 +55,10 @@ N_("GNU mail.local -- the local MDA\
\v\
Debug flags are:\n\
g - guimb stack traces\n\
- T - mailutil traces (MU_DEBUG_TRACE)\n\
+ T - mailutils traces (MU_DEBUG_TRACE)\n\
P - network protocols (MU_DEBUG_PROT)\n\
t - sieve trace (MU_SIEVE_DEBUG_TRACE)\n\
+ i - sieve instructions trace (MU_SIEVE_DEBUG_INSTR)\n\
l - sieve action logs\n\
0-9 - Set mail.local debugging level\n");
@@ -86,12 +87,12 @@ static struct argp_option options[] =
N_("SQL query to retrieve mailbox quota"), 0 },
#endif
{ "sieve", 'S', N_("PATTERN"), 0,
- N_("Set name pattern for user-defined sieve mail filters"), 0 },
+ N_("Set name pattern for user-defined Sieve mail filters"), 0 },
{ "message-id-header", ARG_MESSAGE_ID_HEADER, N_("STRING"), 0,
N_("Identify messages by the value of this header when logging Sieve actions"), 0 },
#ifdef WITH_GUILE
{ "source", 's', N_("PATTERN"), 0,
- N_("Set name pattern for user-defined mail filters"), 0 },
+ N_("Set name pattern for user-defined Scheme mail filters"), 0 },
#endif
{ "debug", 'x', N_("FLAGS"), 0,
N_("Enable debugging"), 0 },
@@ -190,6 +191,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
sieve_debug_flags |= MU_SIEVE_DEBUG_TRACE;
break;
+ case 'i':
+ sieve_debug_flags |= MU_SIEVE_DEBUG_INSTR;
+ break;
+
case 'l':
sieve_enable_log = 1;
break;

Return to:

Send suggestions and report system problems to the System administrator.