Unverified Commit 2727a2ce authored by fishsalter's avatar fishsalter Committed by GitHub
Browse files

msetnx reply error (#9061)

parent b8a5da80
...@@ -549,7 +549,8 @@ void msetGenericCommand(client *c, int nx) { ...@@ -549,7 +549,8 @@ void msetGenericCommand(client *c, int nx) {
int j; int j;
if ((c->argc % 2) == 0) { if ((c->argc % 2) == 0) {
addReplyError(c,"wrong number of arguments for MSET"); addReplyErrorFormat(c,"wrong number of arguments for '%s' command",
c->cmd->name);
return; return;
} }
......
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