summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-06-29 18:02:58 +0200
committerantirez <antirez@gmail.com>2018-06-29 18:03:00 +0200
commitd751d98b508fd86c5e38919167e3564f80d4958e (patch)
treefdc7051db6e5c7914bf29beefaa1ff519c10fd15
parenta0b05a0424390492aefe2afdc34d917045897756 (diff)
downloadredis-d751d98b508fd86c5e38919167e3564f80d4958e.tar.gz
Change CLIENT LIST TYPE help string.
Making it more similar to KILL.
-rw-r--r--src/networking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c
index 4248a52f1..b9f17cd73 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -1575,8 +1575,8 @@ void clientCommand(client *c) {
" addr <ip:port> -- Kill connection made from <ip:port>",
" type (normal|master|slave|pubsub) -- Kill connections by type.",
" skipme (yes|no) -- Skip killing current connection (default: yes).",
-"list -- Return information about client connections.",
-" type (normal|master|slave|pubsub) -- Return information about client connections by type.",
+"list [options ...] -- Return information about client connections. Options:",
+" type (normal|master|slave|pubsub) -- Return clients of specified type.",
"pause <timeout> -- Suspend all Redis clients for <timout> milliseconds.",
"reply (on|off|skip) -- Control the replies sent to the current connection.",
"setname <name> -- Assign the name <name> to the current connection.",