dovecot-2.0: doveadm: Renamed -F to -f.

dovecot at dovecot.org dovecot at dovecot.org
Fri Jun 11 23:45:55 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/b135e13f42b2
changeset: 11523:b135e13f42b2
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 11 21:45:51 2010 +0100
description:
doveadm: Renamed -F to -f.

diffstat:

 src/doveadm/doveadm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r ed156c989067 -r b135e13f42b2 src/doveadm/doveadm.c
--- a/src/doveadm/doveadm.c	Fri Jun 11 21:39:11 2010 +0100
+++ b/src/doveadm/doveadm.c	Fri Jun 11 21:45:51 2010 +0100
@@ -87,7 +87,7 @@
 	const struct doveadm_cmd *cmd;
 	string_t *str = t_str_new(1024);
 
-	fprintf(out, "usage: doveadm [-Dv] [-F <formatter>] ");
+	fprintf(out, "usage: doveadm [-Dv] [-f <formatter>] ");
 	if (*prefix != '\0')
 		fprintf(out, "%s ", prefix);
 	fprintf(out, "<command> [<args>]\n");
@@ -298,14 +298,14 @@
 	/* "+" is GNU extension to stop at the first non-option.
 	   others just accept -+ option. */
 	master_service = master_service_init("doveadm", service_flags,
-					     &argc, &argv, "+DF:v");
+					     &argc, &argv, "+Df:v");
 	while ((c = master_getopt(master_service)) > 0) {
 		switch (c) {
 		case 'D':
 			doveadm_debug = TRUE;
 			doveadm_verbose = TRUE;
 			break;
-		case 'F':
+		case 'f':
 			doveadm_print_init(optarg);
 			break;
 		case 'v':


More information about the dovecot-cvs mailing list