diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2021-01-28 20:49:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 20:49:46 +0200 |
commit | 26301897d0f298446f6cc9c21e72484c4488ebe5 (patch) | |
tree | 86f3b879eb44383b641ae72979322c998bcec7bd | |
parent | 4bb5ccbefbde8dffe4597de3be9e4b6730857177 (diff) | |
download | redis-26301897d0f298446f6cc9c21e72484c4488ebe5.tar.gz |
Update CLIENT HELP regarding KILL options. (#8417)
* Indicate address can also be a unix socket path name.
* Document the LADDR option as well.
-rw-r--r-- | src/networking.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c index 26e4017c5..893359ec5 100644 --- a/src/networking.c +++ b/src/networking.c @@ -2439,8 +2439,10 @@ void clientCommand(client *c) { " Kill connection made from <ip:port>.", "KILL <option> <value> [<option> <value> [...]]", " Kill connections. Options are:", -" * ADDR <ip:port>", -" Kill connection made from <ip:port>", +" * ADDR (<ip:port>|<unixsocket>:0)", +" Kill connections made from the specified address", +" * LADDR (<ip:port>|<unixsocket>:0)", +" Kill connections made to specified local address", " * TYPE (normal|master|replica|pubsub)", " Kill connections by type.", " * USER <username>", |