From 7fd0149d3401e9f173097cf1f39b467dd491bdcd Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 27 Jun 2014 12:01:29 +0200 Subject: [PATCH] COMMANDS command renamed COMMAND. --- src/redis.c | 4 ++-- src/redis.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redis.c b/src/redis.c index 9ac46a945..333692946 100644 --- a/src/redis.c +++ b/src/redis.c @@ -273,7 +273,7 @@ struct redisCommand redisCommandTable[] = { {"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0}, {"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,0,0}, {"wait",waitCommand,3,"rs",0,NULL,0,0,0,0,0}, - {"commands",commandsCommand,0,"rlt",0,NULL,0,0,0,0,0}, + {"command",commandCommand,0,"rlt",0,NULL,0,0,0,0,0}, {"pfselftest",pfselftestCommand,1,"r",0,NULL,0,0,0,0,0}, {"pfadd",pfaddCommand,-2,"wm",0,NULL,1,1,1,0,0}, {"pfcount",pfcountCommand,-2,"w",0,NULL,1,1,1,0,0}, @@ -2446,7 +2446,7 @@ void addReplyCommand(redisClient *c, struct redisCommand *cmd) { } } -void commandsCommand(redisClient *c) { +void commandCommand(redisClient *c) { dictIterator *di; dictEntry *de; diff --git a/src/redis.h b/src/redis.h index eb20afd07..e52dd9e4d 100644 --- a/src/redis.h +++ b/src/redis.h @@ -1327,7 +1327,7 @@ uint64_t redisBuildId(void); void authCommand(redisClient *c); void pingCommand(redisClient *c); void echoCommand(redisClient *c); -void commandsCommand(redisClient *c); +void commandCommand(redisClient *c); void setCommand(redisClient *c); void setnxCommand(redisClient *c); void setexCommand(redisClient *c);