mirror of
https://github.com/fluencelabs/redis
synced 2025-03-16 15:40:49 +00:00
Merge pull request #896 from bitterb/fix-client-command-error-message
Fix an error reply for CLIENT command
This commit is contained in:
commit
947f1689d3
@ -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)");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user