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

Fix an error reply for CLIENT command
This commit is contained in:
Salvatore Sanfilippo 2013-01-19 01:25:01 -08:00
commit 947f1689d3

View File

@ -1228,7 +1228,7 @@ void clientCommand(redisClient *c) {
else
addReply(c,shared.nullbulk);
} 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)");
}
}