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
711b1380
Unverified
Commit
711b1380
authored
Feb 06, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Feb 06, 2020
Browse files
Merge pull request #6852 from oranagra/acl_help
add SAVE subcommand to ACL HELP and top comment
parents
f2596233
6d29c34d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/acl.c
View file @
711b1380
...
...
@@ -1461,6 +1461,7 @@ void ACLLoadUsersAtStartup(void) {
/* ACL -- show and modify the configuration of ACL users.
* ACL HELP
* ACL LOAD
* ACL SAVE
* ACL LIST
* ACL USERS
* ACL CAT [<category>]
...
...
@@ -1658,6 +1659,7 @@ 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."
,
...
...
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