summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2020-02-06 10:31:43 +0200
committerOran Agra <oran@redislabs.com>2020-02-06 10:31:43 +0200
commit6d29c34da7e0caeeb1647f41056f964e3a1ecc68 (patch)
tree557e0084b295501d615b1845d0c049ae41cf19bd
parent44ac202fbfbca4210d016c9f77df987b27c1ae4c (diff)
downloadredis-6d29c34da7e0caeeb1647f41056f964e3a1ecc68.tar.gz
add SAVE subcommand to ACL HELP and top comment
-rw-r--r--src/acl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/acl.c b/src/acl.c
index 1f395bd3f..aae35226f 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -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.",