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