summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-06-28 00:21:32 +0200
committerantirez <antirez@gmail.com>2018-06-28 00:21:32 +0200
commitab55f9da5eb10aabd78304941903e8657aa210e6 (patch)
tree870e860c30718439d71ab5e67e3da009868b9629
parent75f1a7bdfc114bf161d79e0a90e993122884d662 (diff)
downloadredis-ab55f9da5eb10aabd78304941903e8657aa210e6.tar.gz
Make CLIENT HELP output nicer to the eyes.
-rw-r--r--src/networking.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/networking.c b/src/networking.c
index 82a72692e..da14709cc 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -1566,18 +1566,18 @@ void clientCommand(client *c) {
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
const char *help[] = {
-"id -- Return the ID of the current connection.",
-"getname -- Return the name of the current connection.",
-"kill <ip:port> -- Kill connection made from <ip:port>.",
+"id -- Return the ID of the current connection.",
+"getname -- Return the name of the current connection.",
+"kill <ip:port> -- Kill connection made from <ip:port>.",
"kill <option> <value> [option value ...] -- Kill connections. Options are:",
-" 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.",
-"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.",
-"unblock -- Unblock the specified blocked client by pause or error.",
+" 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.",
+"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.",
+"unblock -- Unblock the specified blocked client.",
NULL
};
addReplyHelp(c, help);