summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-09-11 16:29:31 +0200
committerantirez <antirez@gmail.com>2018-09-11 16:29:31 +0200
commit096c74c8867fd1ae3f9f91320750fd8ae5d58218 (patch)
tree7ebdc1ad67cd52bcfb5cc4c9228e61100a4c71f7 /src/redis-cli.c
parent2dbf2047ac327aed53794c215a35655b662cdee5 (diff)
downloadredis-096c74c8867fd1ae3f9f91320750fd8ae5d58218.tar.gz
LOLWUT: show the output verbatim in redis-cli.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r--src/redis-cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index c9e8d26b3..a1d2d1670 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -1088,6 +1088,7 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
output_raw = 0;
if (!strcasecmp(command,"info") ||
+ !strcasecmp(command,"lolwut") ||
(argc >= 2 && !strcasecmp(command,"debug") &&
!strcasecmp(argv[1],"htstats")) ||
(argc >= 2 && !strcasecmp(command,"debug") &&