From: Siavash Tavakoli Date: Tue, 10 Aug 2021 11:23:55 +0000 (+0100) Subject: mail-crypt: Fix -O argument type for doveadm cryptokey password command X-Git-Tag: 2.3.17~213 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13830767a0e3bf29ad421ed656a89345346d6c8d;p=thirdparty%2Fdovecot%2Fcore.git mail-crypt: Fix -O argument type for doveadm cryptokey password command Should be boolean instead of string. --- diff --git a/src/plugins/mail-crypt/doveadm-mail-crypt.c b/src/plugins/mail-crypt/doveadm-mail-crypt.c index a5c2be6507..7af2ecb629 100644 --- a/src/plugins/mail-crypt/doveadm-mail-crypt.c +++ b/src/plugins/mail-crypt/doveadm-mail-crypt.c @@ -1024,7 +1024,7 @@ DOVEADM_CMD_MAIL_COMMON DOVEADM_CMD_PARAM('C', "clear-password", CMD_PARAM_BOOL, 0) DOVEADM_CMD_PARAM('N', "ask-new-password", CMD_PARAM_BOOL, 0) DOVEADM_CMD_PARAM('n', "new-password", CMD_PARAM_STR, 0) -DOVEADM_CMD_PARAM('O', "ask-old-password", CMD_PARAM_STR, 0) +DOVEADM_CMD_PARAM('O', "ask-old-password", CMD_PARAM_BOOL, 0) DOVEADM_CMD_PARAM('o', "old-password", CMD_PARAM_STR, 0) DOVEADM_CMD_PARAMS_END };