dovecot-2.2-pigeonhole: sieve-tools: The -D option wasn't enable...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Sun Sep 23 18:15:06 EEST 2012
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/d7b06a1be3e1
changeset: 1684:d7b06a1be3e1
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Sep 20 00:57:02 2012 +0200
description:
sieve-tools: The -D option wasn't enabled and documented for all tools.
Change backported from Pigeonhole v0.4 tree, which means that this change will duplicate there upon merge.
diffstat:
doc/man/sieve-dump.1.in | 3 +++
doc/man/sievec.1.in | 3 +++
src/sieve-tools/sieve-dump.c | 4 ++--
src/sieve-tools/sievec.c | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
diffs (59 lines):
diff -r df4088161da0 -r d7b06a1be3e1 doc/man/sieve-dump.1.in
--- a/doc/man/sieve-dump.1.in Thu Sep 20 00:54:17 2012 +0200
+++ b/doc/man/sieve-dump.1.in Thu Sep 20 00:57:02 2012 +0200
@@ -40,6 +40,9 @@
.BI \-c\ config\-file
Alternative Dovecot configuration file path.
.TP
+.B \-D
+Enable Sieve debugging.
+.TP
.B \-h
Produce per\-block hexdump output of the whole binary instead of the normal
human\-readable output.
diff -r df4088161da0 -r d7b06a1be3e1 doc/man/sievec.1.in
--- a/doc/man/sievec.1.in Thu Sep 20 00:54:17 2012 +0200
+++ b/doc/man/sievec.1.in Thu Sep 20 00:57:02 2012 +0200
@@ -57,6 +57,9 @@
for a compiled Sieve binary file. Note that this option is not allowed when the
\fIout\-file\fP argument is a directory.
.TP
+.B \-D
+Enable Sieve debugging.
+.TP
.BI \-x\ extensions
Set the available extensions. The parameter is a space\-separated list of the
active extensions. By prepending the extension identifiers with \fB+\fP or
diff -r df4088161da0 -r d7b06a1be3e1 src/sieve-tools/sieve-dump.c
--- a/src/sieve-tools/sieve-dump.c Thu Sep 20 00:54:17 2012 +0200
+++ b/src/sieve-tools/sieve-dump.c Thu Sep 20 00:57:02 2012 +0200
@@ -28,7 +28,7 @@
static void print_help(void)
{
printf(
-"Usage: sieve-dump [-c <config-file>] [-h] [-P <plugin>] [-x <extensions>]\n"
+"Usage: sieve-dump [-c <config-file>] [-D] [-h] [-P <plugin>] [-x <extensions>]\n"
" <sieve-binary> [<out-file>]\n"
);
}
@@ -46,7 +46,7 @@
int exit_status = EXIT_SUCCESS;
int c;
- sieve_tool = sieve_tool_init("sieve-dump", &argc, &argv, "hP:x:", FALSE);
+ sieve_tool = sieve_tool_init("sieve-dump", &argc, &argv, "DhP:x:", FALSE);
outfile = NULL;
diff -r df4088161da0 -r d7b06a1be3e1 src/sieve-tools/sievec.c
--- a/src/sieve-tools/sievec.c Thu Sep 20 00:54:17 2012 +0200
+++ b/src/sieve-tools/sievec.c Thu Sep 20 00:57:02 2012 +0200
@@ -31,7 +31,7 @@
static void print_help(void)
{
printf(
-"Usage: sievec [-c <config-file>] [-d] [-P <plugin>] [-x <extensions>] \n"
+"Usage: sievec [-c <config-file>] [-d] [-D] [-P <plugin>] [-x <extensions>] \n"
" <script-file> [<out-file>]\n"
);
}
More information about the dovecot-cvs
mailing list