summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadelyn Olson <34459052+madolson@users.noreply.github.com>2020-08-19 19:07:43 -0700
committerGitHub <noreply@github.com>2020-08-19 19:07:43 -0700
commitcbd9af85838a73c9c9654829cf8e511ecc5853de (patch)
treeeac33079e7828acaa33b29d49679b6a07c716dcb
parent89d544d6f263561160352db14afe8c70cdb7e707 (diff)
downloadredis-cbd9af85838a73c9c9654829cf8e511ecc5853de.tar.gz
Fixed hset error since it's shared with hmset (#7678)
-rw-r--r--src/t_hash.c2
1 files changed, 1 insertions, 1 deletions
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;
}