Fixed hset error since it's shared with hmset (#7678)
(cherry picked from commit 17c6b3c7eeb486a75d05ba7fb3c4490b7abbc597)
This commit is contained in:
parent
d74a98eaac
commit
f80b756076
@ -532,7 +532,7 @@ void hsetCommand(client *c) {
|
||||
robj *o;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user