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

(cherry picked from commit cbd9af85838a73c9c9654829cf8e511ecc5853de)
This commit is contained in:
Madelyn Olson 2020-08-19 19:07:43 -07:00 committed by Oran Agra
parent 4e19358d65
commit ba48e7e9cd

View File

@ -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;
}