COMMANDS command renamed COMMAND.

This commit is contained in:
antirez 2014-06-27 12:01:29 +02:00
parent 9bf6921f3d
commit 7fd0149d34
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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);