From bc64df9a66def9a86461d2f215a142ffffd03369 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 28 Jul 2017 17:47:54 +0200 Subject: [PATCH] Add MEMORY DOCTOR to MEMORY HELP. --- src/object.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/object.c b/src/object.c index 08c9ad956..2565ed59f 100644 --- a/src/object.c +++ b/src/object.c @@ -1163,7 +1163,9 @@ void memoryCommand(client *c) { /* Nothing to do for other allocators. */ #endif } 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, "MEMORY USAGE [SAMPLES ] - Estimate memory usage of key"); addReplyBulkCString(c,