Skip to content

Commit

Permalink
man: update doveadm-proxy man page with kick -h option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Kitov authored and sirainen committed Oct 7, 2020
1 parent 0f88937 commit 4740d48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion doc/man/doveadm-proxy.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,14 @@ wildcards (e.g. *@example.org).
.SS proxy kick
.B doveadm proxy kick
[\fB\-a\fP \fIipc_socket_path\fP]
.I user
[\fB\-f\fP \fIpassdb_field\fP]
[\fB\-h\fP \fIhost_list\fP | \fIuser\fP]
\" .I user
.PP
Kick all the connections being proxied for the given
.IR user .
or for the given backend
.IR hosts_list .
.\"-------------------------------------
.SS proxy list
.B doveadm proxy list
Expand Down
2 changes: 1 addition & 1 deletion src/login-common/login-proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ void login_proxy_kill_idle(void)

static bool
want_kick_host(struct login_proxy *proxy, const char *const *args,
unsigned int key_idx ATTR_UNUSED)
unsigned int key_idx ATTR_UNUSED)
{
return str_array_find(args, proxy->host);
}
Expand Down

0 comments on commit 4740d48

Please sign in to comment.