summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadelyn Olson <matolson@amazon.com>2020-08-18 14:28:55 -0700
committerMadelyn Olson <matolson@amazon.com>2020-08-18 14:28:55 -0700
commitbaf8a39f2c4039fcbd677f484e55634031dae5a2 (patch)
treeb4b358b4de4a4d5a77d323c8e6adc24830645667
parent99e6e732352c483bcbd9efae7aaf0560f3e88173 (diff)
downloadredis-unstable_hmset_args.tar.gz
Fixed hset error since it's shared with hmsetunstable_hmset_args
-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 866bcd25b..c073583e5 100644
--- a/src/t_hash.c
+++ b/src/t_hash.c
@@ -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->argv[0]->ptr);
return;
}