mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-24 00:59:02 -05:00
Uppercases subcommands in MEMORY HELP
This commit is contained in:
parent
4317e2131f
commit
7820377d00
10
src/object.c
10
src/object.c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user