summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2019-02-08 12:40:42 +0100
committerantirez <antirez@gmail.com>2019-02-08 12:40:42 +0100
commit3df1eb85ca6b8a9c26b4bf9bb79c7d6172c60032 (patch)
treed1ba24edec41d21e764527d16afbe34f9be027cb
parentd453936b52ced6e0fbf74a59c1df4147a9870d37 (diff)
downloadredis-3df1eb85ca6b8a9c26b4bf9bb79c7d6172c60032.tar.gz
ACL: add command fingerprint for CAT subcommand.
-rw-r--r--src/acl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/acl.c b/src/acl.c
index 2e2bd24a5..3d73e0843 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -1268,7 +1268,9 @@ void ACLLoadUsersAtStartup(void) {
/* ACL -- show and modify the configuration of ACL users.
* ACL HELP
* ACL LIST
- * ACL SETUSER <username> ... user attribs ...
+ * ACL USERS
+ * ACL CAT [<category>]
+ * ACL SETUSER <username> ... acl rules ...
* ACL DELUSER <username>
* ACL GETUSER <username>
*/
@@ -1429,6 +1431,8 @@ void aclCommand(client *c) {
"SETUSER <username> [attribs ...] -- Create or modify a user.",
"GETUSER <username> -- Get the user details.",
"DELUSER <username> -- Delete a user.",
+"CAT -- List available categories.",
+"CAT <category> -- List commands inside category.",
"WHOAMI -- Return the current connection username.",
NULL
};