Unverified Commit cbd9af85 authored by Madelyn Olson's avatar Madelyn Olson Committed by GitHub
Browse files

Fixed hset error since it's shared with hmset (#7678)

parent 89d544d6
...@@ -529,7 +529,7 @@ void hsetCommand(client *c) { ...@@ -529,7 +529,7 @@ void hsetCommand(client *c) {
robj *o; robj *o;
if ((c->argc % 2) == 1) { if ((c->argc % 2) == 1) {
addReplyError(c,"wrong number of arguments for HMSET"); 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