summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-09-19 09:47:35 +0200
committerantirez <antirez@gmail.com>2016-09-19 09:47:35 +0200
commitb13759e90ae8a9bab7662a1806d61d40eb3d12cf (patch)
tree872f671d3309dd92a02e8e8ab1cb1a5b11da04d8 /src/redis-cli.c
parent4263b121479cd42bb6ddf7ccd1104779ff70ec74 (diff)
downloadredis-b13759e90ae8a9bab7662a1806d61d40eb3d12cf.tar.gz
redis-cli: "allocator-stats" -> "malloc-stats".
It was changed in Redis but not in redis-cli. Thanks to @oranagra for signaling.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r--src/redis-cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index 4bbf41a6f..054c2fc7c 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -845,7 +845,7 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
(argc >= 2 && !strcasecmp(command,"debug") &&
!strcasecmp(argv[1],"htstats")) ||
(argc >= 2 && !strcasecmp(command,"memory") &&
- (!strcasecmp(argv[1],"allocator-stats") ||
+ (!strcasecmp(argv[1],"malloc-stats") ||
!strcasecmp(argv[1],"doctor"))) ||
(argc == 2 && !strcasecmp(command,"cluster") &&
(!strcasecmp(argv[1],"nodes") ||