summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-06-27 12:01:29 +0200
committerantirez <antirez@gmail.com>2014-06-27 18:38:03 +0200
commit53377f8c6da00f5bb2df265843dff73d1774fb32 (patch)
treeb7f984864ff3cf111aee7fd77fdd69ce9d3148aa
parentf3efd529df117b1b5b5c5dee54dbde7285da7b6d (diff)
downloadredis-53377f8c6da00f5bb2df265843dff73d1774fb32.tar.gz
COMMANDS command renamed COMMAND.
-rw-r--r--src/redis.c4
-rw-r--r--src/redis.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/redis.c b/src/redis.c
index bfe82ce06..3a57fd3bf 100644
--- a/src/redis.c
+++ b/src/redis.c
@@ -264,7 +264,7 @@ struct redisCommand redisCommandTable[] = {
{"bitop",bitopCommand,-4,"wm",0,NULL,2,-1,1,0,0},
{"bitcount",bitcountCommand,-2,"r",0,NULL,1,1,1,0,0},
{"bitpos",bitposCommand,-3,"r",0,NULL,1,1,1,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},
@@ -2310,7 +2310,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 7920a4a8f..fbf608a52 100644
--- a/src/redis.h
+++ b/src/redis.h
@@ -1232,7 +1232,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);