Commit bc64df9a authored by antirez's avatar antirez
Browse files

Add MEMORY DOCTOR to MEMORY HELP.

parent dc997755
...@@ -1163,7 +1163,9 @@ void memoryCommand(client *c) { ...@@ -1163,7 +1163,9 @@ void memoryCommand(client *c) {
/* Nothing to do for other allocators. */ /* Nothing to do for other allocators. */
#endif #endif
} else if (!strcasecmp(c->argv[1]->ptr,"help") && c->argc == 2) { } else if (!strcasecmp(c->argv[1]->ptr,"help") && c->argc == 2) {
addReplyMultiBulkLen(c,4); addReplyMultiBulkLen(c,5);
addReplyBulkCString(c,
"MEMORY DOCTOR - Outputs memory problems report");
addReplyBulkCString(c, addReplyBulkCString(c,
"MEMORY USAGE <key> [SAMPLES <count>] - Estimate memory usage of key"); "MEMORY USAGE <key> [SAMPLES <count>] - Estimate memory usage of key");
addReplyBulkCString(c, addReplyBulkCString(c,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment