summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2020-02-06 10:22:16 +0100
committerGitHub <noreply@github.com>2020-02-06 10:22:16 +0100
commit711b13801e73d44e53cb48a99ffe08e12ebaae0b (patch)
tree6c90cbb3c40d41a8de9d55bada71b9501948d3d7
parentf25962337dbde2d596a2d7b014bce5b06feb6031 (diff)
parent6d29c34da7e0caeeb1647f41056f964e3a1ecc68 (diff)
downloadredis-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.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.",