Commit b404a6ce authored by antirez's avatar antirez
Browse files

LOLWUT: show the output verbatim in redis-cli.

parent e30ba94f
...@@ -1088,6 +1088,7 @@ static int cliSendCommand(int argc, char **argv, long repeat) { ...@@ -1088,6 +1088,7 @@ static int cliSendCommand(int argc, char **argv, long repeat) {
output_raw = 0; output_raw = 0;
if (!strcasecmp(command,"info") || if (!strcasecmp(command,"info") ||
!strcasecmp(command,"lolwut") ||
(argc >= 2 && !strcasecmp(command,"debug") && (argc >= 2 && !strcasecmp(command,"debug") &&
!strcasecmp(argv[1],"htstats")) || !strcasecmp(argv[1],"htstats")) ||
(argc >= 2 && !strcasecmp(command,"debug") && (argc >= 2 && !strcasecmp(command,"debug") &&
......
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