From 3df1eb85ca6b8a9c26b4bf9bb79c7d6172c60032 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 8 Feb 2019 12:40:42 +0100 Subject: [PATCH] ACL: add command fingerprint for CAT subcommand. --- src/acl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ... user attribs ... + * ACL USERS + * ACL CAT [] + * ACL SETUSER ... acl rules ... * ACL DELUSER * ACL GETUSER */ @@ -1429,6 +1431,8 @@ void aclCommand(client *c) { "SETUSER [attribs ...] -- Create or modify a user.", "GETUSER -- Get the user details.", "DELUSER -- Delete a user.", +"CAT -- List available categories.", +"CAT -- List commands inside category.", "WHOAMI -- Return the current connection username.", NULL };