diff --git a/src/debug.c b/src/debug.c index cd3a22a928c16fd7c691c46c6585861522145c07..2f62bedb055d75a7d982fc4e10a6f35ab30eef2c 100644 --- a/src/debug.c +++ b/src/debug.c @@ -338,7 +338,7 @@ void debugCommand(redisClient *c) { server.active_expire_enabled = atoi(c->argv[2]->ptr); addReply(c,shared.ok); } else { - addReplyErrorFormat(c, "Unknown DEBUG subcommand '%s'", + addReplyErrorFormat(c, "Unknown DEBUG subcommand or wrong number of arguments for '%s'", (char*)c->argv[1]->ptr); } }