dovecot-1.2: expire-tool: Added a forwards-compatibility paramet...

dovecot at dovecot.org dovecot at dovecot.org
Fri Apr 10 01:50:01 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/153c035cf56b
changeset: 8936:153c035cf56b
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 09 18:49:54 2009 -0400
description:
expire-tool: Added a forwards-compatibility parameter -t, which is an alias for --test.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/plugins/expire/expire-tool.c |    3 ++-

diffs (13 lines):

diff -r 1c6361f7111d -r 153c035cf56b src/plugins/expire/expire-tool.c
--- a/src/plugins/expire/expire-tool.c	Thu Apr 09 14:51:24 2009 -0400
+++ b/src/plugins/expire/expire-tool.c	Thu Apr 09 18:49:54 2009 -0400
@@ -314,7 +314,8 @@ int main(int argc ATTR_UNUSED, const cha
 	random_init();
 
 	while (argv[1] != NULL) {
-		if (strcmp(argv[1], "--test") == 0)
+		if (strcmp(argv[1], "--test") == 0 ||
+		    strcmp(argv[1], "-t") == 0)
 			test = TRUE;
 		else
 			i_fatal("Unknown parameter: %s", argv[1]);


More information about the dovecot-cvs mailing list