Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b404a6ce
Commit
b404a6ce
authored
Sep 11, 2018
by
antirez
Browse files
LOLWUT: show the output verbatim in redis-cli.
parent
e30ba94f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
b404a6ce
...
@@ -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"
)
&&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment