ACL: add command fingerprint for CAT subcommand.

This commit is contained in:
antirez 2019-02-08 12:40:42 +01:00
parent d453936b52
commit 3df1eb85ca
1 changed files with 5 additions and 1 deletions

View File

@ -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
};