mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 08:00:49 +00:00
ACL: add LOAD subcommand to ACL HELP.
This commit is contained in:
parent
35ffbead5c
commit
e4f3a2eecd
@ -1300,6 +1300,7 @@ void ACLLoadUsersAtStartup(void) {
|
||||
|
||||
/* ACL -- show and modify the configuration of ACL users.
|
||||
* ACL HELP
|
||||
* ACL LOAD
|
||||
* ACL LIST
|
||||
* ACL USERS
|
||||
* ACL CAT [<category>]
|
||||
@ -1465,6 +1466,7 @@ void aclCommand(client *c) {
|
||||
setDeferredArrayLen(c,dl,arraylen);
|
||||
} else if (!strcasecmp(sub,"help")) {
|
||||
const char *help[] = {
|
||||
"LOAD -- Reload users from 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.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user