diff options
author | Oran Agra <oran@redislabs.com> | 2020-02-06 10:31:43 +0200 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2020-02-06 10:31:43 +0200 |
commit | 6d29c34da7e0caeeb1647f41056f964e3a1ecc68 (patch) | |
tree | 557e0084b295501d615b1845d0c049ae41cf19bd | |
parent | 44ac202fbfbca4210d016c9f77df987b27c1ae4c (diff) | |
download | redis-6d29c34da7e0caeeb1647f41056f964e3a1ecc68.tar.gz |
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.", |