dovecot-1.1: expire-tool: Added a forwards-compatibility paramet...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Apr 10 01:50:14 EEST 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/603997f27859
changeset: 8239:603997f27859
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 8d1e5a5835c6 -r 603997f27859 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
@@ -309,7 +309,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