Commit 3df1eb85 authored by antirez's avatar antirez
Browse files

ACL: add command fingerprint for CAT subcommand.

parent d453936b
...@@ -1268,7 +1268,9 @@ void ACLLoadUsersAtStartup(void) { ...@@ -1268,7 +1268,9 @@ void ACLLoadUsersAtStartup(void) {
/* ACL -- show and modify the configuration of ACL users. /* ACL -- show and modify the configuration of ACL users.
* ACL HELP * ACL HELP
* ACL LIST * ACL LIST
* ACL SETUSER <username> ... user attribs ... * ACL USERS
* ACL CAT [<category>]
* ACL SETUSER <username> ... acl rules ...
* ACL DELUSER <username> * ACL DELUSER <username>
* ACL GETUSER <username> * ACL GETUSER <username>
*/ */
...@@ -1429,6 +1431,8 @@ void aclCommand(client *c) { ...@@ -1429,6 +1431,8 @@ void aclCommand(client *c) {
"SETUSER <username> [attribs ...] -- Create or modify a user.", "SETUSER <username> [attribs ...] -- Create or modify a user.",
"GETUSER <username> -- Get the user details.", "GETUSER <username> -- Get the user details.",
"DELUSER <username> -- Delete a user.", "DELUSER <username> -- Delete a user.",
"CAT -- List available categories.",
"CAT <category> -- List commands inside category.",
"WHOAMI -- Return the current connection username.", "WHOAMI -- Return the current connection username.",
NULL NULL
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment