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
96688aa6
Commit
96688aa6
authored
Apr 08, 2020
by
antirez
Browse files
Fix ACL HELP table missing comma.
parent
a6350f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
96688aa6
...
@@ -1847,18 +1847,18 @@ void aclCommand(client *c) {
...
@@ -1847,18 +1847,18 @@ void aclCommand(client *c) {
}
}
}
else
if
(
!
strcasecmp
(
sub
,
"help"
))
{
}
else
if
(
!
strcasecmp
(
sub
,
"help"
))
{
const
char
*
help
[]
=
{
const
char
*
help
[]
=
{
"LOAD
-- Reload users from the ACL file."
,
"LOAD -- Reload users from the ACL file."
,
"SAVE
-- Save the current config to the ACL file."
"SAVE -- Save the current config to the ACL file."
,
"LIST
-- Show user details in config file format."
,
"LIST -- Show user details in config file format."
,
"USERS
-- List all the registered usernames."
,
"USERS -- List all the registered usernames."
,
"SETUSER <username> [attribs ...]
-- Create or modify a user."
,
"SETUSER <username> [attribs ...] -- Create or modify a user."
,
"GETUSER <username>
-- Get the user details."
,
"GETUSER <username> -- Get the user details."
,
"DELUSER <username> [...]
-- Delete a list of users."
,
"DELUSER <username> [...] -- Delete a list of users."
,
"CAT
-- List available categories."
,
"CAT -- List available categories."
,
"CAT <category>
-- List commands inside category."
,
"CAT <category> -- List commands inside category."
,
"GENPASS
-- Generate a secure user password."
,
"GENPASS -- Generate a secure user password."
,
"WHOAMI
-- Return the current connection username."
,
"WHOAMI -- Return the current connection username."
,
"LOG [<count> | RESET]
-- Show the ACL log entries."
,
"LOG [<count> | RESET] -- Show the ACL log entries."
,
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