dovecot-2.2: doveadm mailbox create: Added back -s parameter tha...

dovecot at dovecot.org dovecot at dovecot.org
Fri Nov 8 15:45:08 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/f1c2d889966c
changeset: 16947:f1c2d889966c
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Nov 08 14:44:57 2013 +0100
description:
doveadm mailbox create: Added back -s parameter that was recently accidentally removed.

diffstat:

 src/doveadm/doveadm-mail-mailbox.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 0ed18f77ff08 -r f1c2d889966c src/doveadm/doveadm-mail-mailbox.c
--- a/src/doveadm/doveadm-mail-mailbox.c	Wed Nov 06 23:00:58 2013 +0200
+++ b/src/doveadm/doveadm-mail-mailbox.c	Fri Nov 08 14:44:57 2013 +0100
@@ -268,6 +268,9 @@
 		if (guid_128_from_string(optarg, ctx->update.mailbox_guid) < 0)
 			doveadm_mail_help_name("mailbox create");
 		break;
+	case 's':
+		ctx->ctx.subscriptions = TRUE;
+		break;
 	default:
 		return FALSE;
 	}
@@ -282,7 +285,7 @@
 	ctx->ctx.ctx.v.init = cmd_mailbox_create_init;
 	ctx->ctx.ctx.v.run = cmd_mailbox_create_run;
 	ctx->ctx.ctx.v.parse_arg = cmd_mailbox_create_parse_arg;
-	ctx->ctx.ctx.getopt_args = "g:";
+	ctx->ctx.ctx.getopt_args = "g:s";
 	p_array_init(&ctx->mailboxes, ctx->ctx.ctx.pool, 16);
 	return &ctx->ctx.ctx;
 }


More information about the dovecot-cvs mailing list