summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwware <wen.hui.ware@gmail.com>2020-02-17 23:40:24 -0500
committerantirez <antirez@gmail.com>2020-02-27 18:00:47 +0100
commitba0270799ed6b347c5e096a5ebbf9c7e1bc5c370 (patch)
treec23241aefd19c0e474c9d712bff88d3e678f15bb
parent5d0890c0a83e4f3c2398a3ff7381c72ef36602df (diff)
downloadredis-ba0270799ed6b347c5e096a5ebbf9c7e1bc5c370.tar.gz
add missing subcommand description for debug oom
-rw-r--r--src/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c
index b910d2d2d..dd96ad416 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -363,6 +363,7 @@ void debugCommand(client *c) {
"LOADAOF -- Flush the AOF buffers on disk and reload the AOF in memory.",
"LUA-ALWAYS-REPLICATE-COMMANDS <0|1> -- Setting it to 1 makes Lua replication defaulting to replicating single commands, without the script having to enable effects replication.",
"OBJECT <key> -- Show low level info about key and associated value.",
+"OOM -- Crash the server simulating an out-of-memory error.",
"PANIC -- Crash the server simulating a panic.",
"POPULATE <count> [prefix] [size] -- Create <count> string keys named key:<num>. If a prefix is specified is used instead of the 'key' prefix.",
"RELOAD -- Save the RDB on disk and reload it back in memory.",