Uppercases subcommands in MEMORY HELP

This commit is contained in:
Itamar Haber 2017-12-15 21:19:41 +02:00
parent 4317e2131f
commit 7820377d00

View File

@ -1123,11 +1123,11 @@ void memoryCommand(client *c) {
if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) { if (c->argc == 2 && !strcasecmp(c->argv[1]->ptr,"help")) {
const char *help[] = { const char *help[] = {
"doctor - Return memory problems reports.", "DOCTOR - Return memory problems reports.",
"malloc-stats -- Return internal statistics report from the memory allocator.", "MALLOC-STATS -- Return internal statistics report from the memory allocator.",
"purge -- Attempt to purge dirty pages for reclamation by the allocator.", "PURGE -- Attempt to purge dirty pages for reclamation by the allocator.",
"stats -- Return information about the memory usage of the server.", "STATS -- Return information about the memory usage of the server.",
"usage <key> [samples <count>] -- Return memory in bytes used by <key> and its value. Nested values are sampled up to <count> times (default: 5).", "USAGE <key> [SAMPLES <count>] -- Return memory in bytes used by <key> and its value. Nested values are sampled up to <count> times (default: 5).",
NULL NULL
}; };
addReplyHelp(c, help); addReplyHelp(c, help);