diff --git a/src/help.h b/src/help.h index 9b4e90f9fbb7eaa1273dbefdd7f8be3af3620fdd..1b1ac5e08db99ba6b0dcb658a300d8450e372955 100644 --- a/src/help.h +++ b/src/help.h @@ -43,6 +43,16 @@ struct commandHelp { "Generate a pseudorandom secure password to use for ACL users", 9, "6.0.0" }, + { "ACL GETUSER", + "username", + "Get the rules for a specific ACL user", + 9, + "6.0.0" }, + { "ACL HELP", + "-", + "Show helpful text about the different subcommands", + 9, + "6.0.0" }, { "ACL LIST", "-", "List the current ACL rules in ACL config file format", @@ -64,7 +74,7 @@ struct commandHelp { 9, "6.0.0" }, { "ACL SETUSER", - "rule [rule ...]", + "username [rule [rule ...]]", "Modify or create the rules for a specific ACL user", 9, "6.0.0" }, @@ -164,7 +174,7 @@ struct commandHelp { 8, "5.0.0" }, { "CLIENT KILL", - "[ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [ADDR ip:port] [SKIPME yes/no]", + "[ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [USER username] [ADDR ip:port] [SKIPME yes/no]", "Kill the connection of a client", 8, "2.4.0" }, @@ -182,14 +192,14 @@ struct commandHelp { "ON|OFF|SKIP", "Instruct the server whether to reply to commands", 8, - "3.2" }, + "3.2.0" }, { "CLIENT SETNAME", "connection-name", "Set the current connection name", 8, "2.6.9" }, { "CLIENT TRACKING", - "ON|OFF [REDIRECT client-id] [PREFIX prefix] [BCAST] [OPTIN] [OPTOUT] [NOLOOP]", + "ON|OFF [REDIRECT client-id] [PREFIX prefix [PREFIX prefix ...]] [BCAST] [OPTIN] [OPTOUT] [NOLOOP]", "Enable or disable server assisted client side caching support", 8, "6.0.0" }, @@ -619,7 +629,7 @@ struct commandHelp { 9, "2.8.13" }, { "LATENCY RESET", - "[event]", + "[event [event ...]]", "Reset latency data for one or more events.", 9, "2.8.13" }, @@ -648,6 +658,11 @@ struct commandHelp { "Remove and get the first element in a list", 2, "1.0.0" }, + { "LPOS", + "key element [FIRST rank] [COUNT num-matches] [MAXLEN len]", + "Return the index of matching elements on a list", + 2, + "6.0.6" }, { "LPUSH", "key element [element ...]", "Prepend one or multiple elements to a list", @@ -668,11 +683,6 @@ struct commandHelp { "Remove elements from a list", 2, "1.0.0" }, - { "LRANK", - "key direction element", - "Return first index of element in list based on direction", - 2, - "9.9.9" }, { "LSET", "key index element", "Set the value of an element in a list by its index",