summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbitterb <bitterb7@gmail.com>2013-01-19 14:11:33 +0900
committerantirez <antirez@gmail.com>2013-01-19 10:26:25 +0100
commita732d86fe032607e17d318436bee99d82f2aae8a (patch)
tree584303341ea76a736e89a27bb068628275c5b5a5
parent0f4dbd9a11f34306638c86f55fbb2f9ba6db8f54 (diff)
downloadredis-a732d86fe032607e17d318436bee99d82f2aae8a.tar.gz
Fix an error reply for CLIENT command
-rw-r--r--src/networking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/networking.c b/src/networking.c
index 3448ea8de..d1a8d3b3f 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -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)");
}
}