Skip to content

Commit

Permalink
Merge pull request #896 from bitterb/fix-client-command-error-message
Browse files Browse the repository at this point in the history
Fix an error reply for CLIENT command
  • Loading branch information
antirez committed Jan 19, 2013
2 parents 21b3ff9 + c2dc172 commit 947f168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)");
}
}

Expand Down

0 comments on commit 947f168

Please sign in to comment.