dovecot-2.2: doveconf: Discourage using plain "doveconf" by reco...

dovecot at dovecot.org dovecot at dovecot.org
Fri Feb 22 15:24:18 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/eb03b24ffa65
changeset: 15892:eb03b24ffa65
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Feb 22 15:24:01 2013 +0200
description:
doveconf: Discourage using plain "doveconf" by recommending -n parameter in the output.

diffstat:

 src/config/doveconf.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 4eea2224e16b -r eb03b24ffa65 src/config/doveconf.c
--- a/src/config/doveconf.c	Fri Feb 22 15:14:19 2013 +0200
+++ b/src/config/doveconf.c	Fri Feb 22 15:24:01 2013 +0200
@@ -833,6 +833,8 @@
 			printf("# %s\n", info);
 		if (!config_path_specified)
 			check_wrong_config(config_path);
+		if (scope == CONFIG_DUMP_SCOPE_ALL)
+			printf("# NOTE: Send doveconf -n output instead when asking for help.\n");
 		fflush(stdout);
 		ret2 = config_dump_human(&filter, wanted_modules, scope, NULL);
 	} else {


More information about the dovecot-cvs mailing list