diff options
author | antirez <antirez@gmail.com> | 2016-09-16 10:26:23 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2016-09-16 10:26:23 +0200 |
commit | 78f35f8d2cff306d943366a5c05df9e75b0f028f (patch) | |
tree | c8d45948eae41e273860a01cbe928357ad4f850c /src/redis-cli.c | |
parent | 123891dbbf34026c51f1298f7fd6c69a4a3fd8d0 (diff) | |
download | redis-78f35f8d2cff306d943366a5c05df9e75b0f028f.tar.gz |
Memory related subcommands of DEBUG moved to MEMORY.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r-- | src/redis-cli.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c index d1735d638..2036e7f46 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -843,8 +843,9 @@ static int cliSendCommand(int argc, char **argv, int repeat) { output_raw = 0; if (!strcasecmp(command,"info") || (argc >= 2 && !strcasecmp(command,"debug") && - ((!strcasecmp(argv[1],"jemalloc") && !strcasecmp(argv[2],"info")) || - !strcasecmp(argv[1],"htstats"))) || + !strcasecmp(argv[1],"htstats")) || + (argc >= 2 && !strcasecmp(command,"memory") && + !strcasecmp(argv[1],"allocator-stats")) || (argc == 2 && !strcasecmp(command,"cluster") && (!strcasecmp(argv[1],"nodes") || !strcasecmp(argv[1],"info"))) || |