help.h updated.

This commit is contained in:
antirez 2020-06-12 12:16:19 +02:00
parent e0022d8cfe
commit 0cae0900cf

View File

@ -43,6 +43,16 @@ struct commandHelp {
"Generate a pseudorandom secure password to use for ACL users", "Generate a pseudorandom secure password to use for ACL users",
9, 9,
"6.0.0" }, "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", { "ACL LIST",
"-", "-",
"List the current ACL rules in ACL config file format", "List the current ACL rules in ACL config file format",
@ -64,7 +74,7 @@ struct commandHelp {
9, 9,
"6.0.0" }, "6.0.0" },
{ "ACL SETUSER", { "ACL SETUSER",
"rule [rule ...]", "username [rule [rule ...]]",
"Modify or create the rules for a specific ACL user", "Modify or create the rules for a specific ACL user",
9, 9,
"6.0.0" }, "6.0.0" },
@ -164,7 +174,7 @@ struct commandHelp {
8, 8,
"5.0.0" }, "5.0.0" },
{ "CLIENT KILL", { "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", "Kill the connection of a client",
8, 8,
"2.4.0" }, "2.4.0" },
@ -182,14 +192,14 @@ struct commandHelp {
"ON|OFF|SKIP", "ON|OFF|SKIP",
"Instruct the server whether to reply to commands", "Instruct the server whether to reply to commands",
8, 8,
"3.2" }, "3.2.0" },
{ "CLIENT SETNAME", { "CLIENT SETNAME",
"connection-name", "connection-name",
"Set the current connection name", "Set the current connection name",
8, 8,
"2.6.9" }, "2.6.9" },
{ "CLIENT TRACKING", { "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", "Enable or disable server assisted client side caching support",
8, 8,
"6.0.0" }, "6.0.0" },
@ -619,7 +629,7 @@ struct commandHelp {
9, 9,
"2.8.13" }, "2.8.13" },
{ "LATENCY RESET", { "LATENCY RESET",
"[event]", "[event [event ...]]",
"Reset latency data for one or more events.", "Reset latency data for one or more events.",
9, 9,
"2.8.13" }, "2.8.13" },
@ -648,6 +658,11 @@ struct commandHelp {
"Remove and get the first element in a list", "Remove and get the first element in a list",
2, 2,
"1.0.0" }, "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", { "LPUSH",
"key element [element ...]", "key element [element ...]",
"Prepend one or multiple elements to a list", "Prepend one or multiple elements to a list",
@ -668,11 +683,6 @@ struct commandHelp {
"Remove elements from a list", "Remove elements from a list",
2, 2,
"1.0.0" }, "1.0.0" },
{ "LRANK",
"key direction element",
"Return first index of element in list based on direction",
2,
"9.9.9" },
{ "LSET", { "LSET",
"key index element", "key index element",
"Set the value of an element in a list by its index", "Set the value of an element in a list by its index",