From cbd9af85838a73c9c9654829cf8e511ecc5853de Mon Sep 17 00:00:00 2001 From: Madelyn Olson <34459052+madolson@users.noreply.github.com> Date: Wed, 19 Aug 2020 19:07:43 -0700 Subject: [PATCH] Fixed hset error since it's shared with hmset (#7678) --- src/t_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_hash.c b/src/t_hash.c index 5dacd735b..e6f7b6be9 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -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; }