]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm director kick: Fix -f parameter to work
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 8 Sep 2017 13:00:53 +0000 (16:00 +0300)
committerAki Tuomi <aki.tuomi@dovecot.fi>
Wed, 13 Sep 2017 12:24:07 +0000 (15:24 +0300)
It already worked as --passdb-field, but now it matches the usage string.

src/doveadm/doveadm-director.c

index 78f34f30b60558250442dccd34a2a443ddfaa66e..99e0cd6b63d11cda9757a3a332622e93bf01f5f4 100644 (file)
@@ -998,7 +998,7 @@ DOVEADM_CMD_PARAMS_END
        .usage = "[-a <director socket path>] [-f <passdb field>] <user>",
 DOVEADM_CMD_PARAMS_START
 DOVEADM_CMD_PARAM('a', "socket-path", CMD_PARAM_STR, 0)
-DOVEADM_CMD_PARAM('\0', "passdb-field", CMD_PARAM_STR, 0)
+DOVEADM_CMD_PARAM('f', "passdb-field", CMD_PARAM_STR, 0)
 DOVEADM_CMD_PARAM('\0', "user", CMD_PARAM_STR, CMD_PARAM_FLAG_POSITIONAL)
 DOVEADM_CMD_PARAMS_END
 },