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
3816e7bd
Commit
3816e7bd
authored
Mar 28, 2013
by
antirez
Browse files
Better DEBUG error message when num of arguments is wrong.
parent
1b13adf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
3816e7bd
...
...
@@ -338,7 +338,7 @@ void debugCommand(redisClient *c) {
server
.
active_expire_enabled
=
atoi
(
c
->
argv
[
2
]
->
ptr
);
addReply
(
c
,
shared
.
ok
);
}
else
{
addReplyErrorFormat
(
c
,
"Unknown DEBUG subcommand '%s'"
,
addReplyErrorFormat
(
c
,
"Unknown DEBUG subcommand
or wrong number of arguments for
'%s'"
,
(
char
*
)
c
->
argv
[
1
]
->
ptr
);
}
}
...
...
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