diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-02-06 10:22:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 10:22:16 +0100 |
commit | 711b13801e73d44e53cb48a99ffe08e12ebaae0b (patch) | |
tree | 6c90cbb3c40d41a8de9d55bada71b9501948d3d7 | |
parent | f25962337dbde2d596a2d7b014bce5b06feb6031 (diff) | |
parent | 6d29c34da7e0caeeb1647f41056f964e3a1ecc68 (diff) | |
download | redis-711b13801e73d44e53cb48a99ffe08e12ebaae0b.tar.gz |
Merge pull request #6852 from oranagra/acl_help
add SAVE subcommand to ACL HELP and top comment
-rw-r--r-- | src/acl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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.", |