Commit 947f1689 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo
Browse files

Merge pull request #896 from bitterb/fix-client-command-error-message

Fix an error reply for CLIENT command
parents 21b3ff9b c2dc172a
...@@ -1228,7 +1228,7 @@ void clientCommand(redisClient *c) { ...@@ -1228,7 +1228,7 @@ void clientCommand(redisClient *c) {
else else
addReply(c,shared.nullbulk); addReply(c,shared.nullbulk);
} else { } else {
addReplyError(c, "Syntax error, try CLIENT (LIST | KILL ip:port)"); addReplyError(c, "Syntax error, try CLIENT (LIST | KILL ip:port | GETNAME | SETNAME connection-name)");
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment