]> 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)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Thu, 14 Sep 2017 10:19:01 +0000 (13:19 +0300)
It already worked as --passdb-field, but now it matches the usage string.

src/doveadm/doveadm-director.c

index 5dbdb850aa3424f9fba816f78fb1409247f46df9..69e8d6f958a05507028835ab8e3fefd84b2ed966 100644 (file)
@@ -983,7 +983,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
 },