Fix ACL HELP table missing comma.

This commit is contained in:
antirez 2020-04-08 10:54:18 +02:00
parent a6350f717d
commit 96688aa646

View File

@ -1847,18 +1847,18 @@ void aclCommand(client *c) {
} }
} else if (!strcasecmp(sub,"help")) { } else if (!strcasecmp(sub,"help")) {
const char *help[] = { const char *help[] = {
"LOAD -- Reload users from the ACL file.", "LOAD -- Reload users from the ACL file.",
"SAVE -- Save the current config to the ACL file." "SAVE -- Save the current config to the ACL file.",
"LIST -- Show user details in config file format.", "LIST -- Show user details in config file format.",
"USERS -- List all the registered usernames.", "USERS -- List all the registered usernames.",
"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 list of users.", "DELUSER <username> [...] -- Delete a list of users.",
"CAT -- List available categories.", "CAT -- List available categories.",
"CAT <category> -- List commands inside category.", "CAT <category> -- List commands inside category.",
"GENPASS -- Generate a secure user password.", "GENPASS -- Generate a secure user password.",
"WHOAMI -- Return the current connection username.", "WHOAMI -- Return the current connection username.",
"LOG [<count> | RESET] -- Show the ACL log entries.", "LOG [<count> | RESET] -- Show the ACL log entries.",
NULL NULL
}; };
addReplyHelp(c,help); addReplyHelp(c,help);