dovecot-2.2-pigeonhole: sieve-tools: The -D option wasn't enable...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu Sep 20 01:22:55 EEST 2012


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/ea0eef5b5578
changeset: 1668:ea0eef5b5578
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu Sep 20 00:18:10 2012 +0200
description:
sieve-tools: The -D option wasn't enabled and documented for all tools.

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 f069f8bff55b -r ea0eef5b5578 doc/man/sieve-dump.1.in
--- a/doc/man/sieve-dump.1.in	Wed Sep 19 22:44:10 2012 +0200
+++ b/doc/man/sieve-dump.1.in	Thu Sep 20 00:18:10 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 f069f8bff55b -r ea0eef5b5578 doc/man/sievec.1.in
--- a/doc/man/sievec.1.in	Wed Sep 19 22:44:10 2012 +0200
+++ b/doc/man/sievec.1.in	Thu Sep 20 00:18:10 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 f069f8bff55b -r ea0eef5b5578 src/sieve-tools/sieve-dump.c
--- a/src/sieve-tools/sieve-dump.c	Wed Sep 19 22:44:10 2012 +0200
+++ b/src/sieve-tools/sieve-dump.c	Thu Sep 20 00:18:10 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 f069f8bff55b -r ea0eef5b5578 src/sieve-tools/sievec.c
--- a/src/sieve-tools/sievec.c	Wed Sep 19 22:44:10 2012 +0200
+++ b/src/sieve-tools/sievec.c	Thu Sep 20 00:18:10 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