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

This commit is contained in:
Madelyn Olson 2020-08-19 19:07:43 -07:00 committed by GitHub
parent 89d544d6f2
commit cbd9af8583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -529,7 +529,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;
}