Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cbcd0777
Commit
cbcd0777
authored
Apr 08, 2020
by
antirez
Browse files
Fix ACL HELP table missing comma.
parent
2437455f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
cbcd0777
...
...
@@ -1847,18 +1847,18 @@ void aclCommand(client *c) {
}
}
else
if
(
!
strcasecmp
(
sub
,
"help"
))
{
const
char
*
help
[]
=
{
"LOAD
-- Reload users from the ACL file."
,
"SAVE
-- Save the current config to the ACL file."
"LIST
-- Show user details in config file format."
,
"USERS
-- List all the registered usernames."
,
"SETUSER <username> [attribs ...]
-- Create or modify a user."
,
"GETUSER <username>
-- Get the user details."
,
"DELUSER <username> [...]
-- Delete a list of users."
,
"CAT
-- List available categories."
,
"CAT <category>
-- List commands inside category."
,
"GENPASS
-- Generate a secure user password."
,
"WHOAMI
-- Return the current connection username."
,
"LOG [<count> | RESET]
-- Show the ACL log entries."
,
"LOAD -- Reload users from the ACL file."
,
"SAVE -- Save the current config to the ACL file."
,
"LIST -- Show user details in config file format."
,
"USERS -- List all the registered usernames."
,
"SETUSER <username> [attribs ...] -- Create or modify a user."
,
"GETUSER <username> -- Get the user details."
,
"DELUSER <username> [...] -- Delete a list of users."
,
"CAT -- List available categories."
,
"CAT <category> -- List commands inside category."
,
"GENPASS -- Generate a secure user password."
,
"WHOAMI -- Return the current connection username."
,
"LOG [<count> | RESET] -- Show the ACL log entries."
,
NULL
};
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