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
21ef0376
Unverified
Commit
21ef0376
authored
Jun 09, 2018
by
Itamar Haber
Committed by
GitHub
Jun 09, 2018
Browse files
Capitalizes subscommands
parent
c199280e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
21ef0376
...
@@ -4501,9 +4501,9 @@ void moduleCommand(client *c) {
...
@@ -4501,9 +4501,9 @@ void moduleCommand(client *c) {
char
*
subcmd
=
c
->
argv
[
1
]
->
ptr
;
char
*
subcmd
=
c
->
argv
[
1
]
->
ptr
;
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
subcmd
,
"help"
))
{
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
subcmd
,
"help"
))
{
const
char
*
help
[]
=
{
const
char
*
help
[]
=
{
"
list
-- Return a list of loaded modules."
,
"
LIST
-- Return a list of loaded modules."
,
"
load
<path> [arg ...] -- Load a module library from <path>."
,
"
LOAD
<path> [arg ...] -- Load a module library from <path>."
,
"
unload
<name> -- Unload a module."
,
"
UNLOAD
<name> -- Unload a module."
,
NULL
NULL
};
};
addReplyHelp
(
c
,
help
);
addReplyHelp
(
c
,
help
);
...
...
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