Unverified Commit 5a76e818 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

update help.h (#11948)

preparing release of 7.2 RC1
parent c3b9f2fb
...@@ -130,17 +130,17 @@ struct commandHelp { ...@@ -130,17 +130,17 @@ struct commandHelp {
15, 15,
"2.6.0" }, "2.6.0" },
{ "BITFIELD", { "BITFIELD",
"key GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment [GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment ...]", "key [GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment [GET encoding offset|[OVERFLOW WRAP|SAT|FAIL] SET encoding offset value|INCRBY encoding offset increment ...]]",
"Perform arbitrary bitfield integer operations on strings", "Perform arbitrary bitfield integer operations on strings",
15, 15,
"3.2.0" }, "3.2.0" },
{ "BITFIELD_RO", { "BITFIELD_RO",
"key GET encoding offset [GET encoding offset ...]", "key [GET encoding offset [GET encoding offset ...]]",
"Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD", "Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD",
15, 15,
"6.0.0" }, "6.0.0" },
{ "BITOP", { "BITOP",
"operation destkey key [key ...]", "AND|OR|XOR|NOT destkey key [key ...]",
"Perform bitwise operations between strings", "Perform bitwise operations between strings",
15, 15,
"2.6.0" }, "2.6.0" },
...@@ -225,7 +225,7 @@ struct commandHelp { ...@@ -225,7 +225,7 @@ struct commandHelp {
8, 8,
"6.2.0" }, "6.2.0" },
{ "CLIENT KILL", { "CLIENT KILL",
"[ip:port] [ID client-id] [TYPE NORMAL|MASTER|SLAVE|REPLICA|PUBSUB] [USER username] [ADDR ip:port] [LADDR ip:port] [SKIPME yes/no]", "old-format|[ID client-id]|[TYPE NORMAL|MASTER|SLAVE|REPLICA|PUBSUB]|[USER username]|[ADDR addr]|[LADDR laddr]|[SKIPME YES|NO] [[ID client-id]|[TYPE NORMAL|MASTER|SLAVE|REPLICA|PUBSUB]|[USER username]|[ADDR addr]|[LADDR laddr]|[SKIPME YES|NO] ...]",
"Kill the connection of a client", "Kill the connection of a client",
8, 8,
"2.4.0" }, "2.4.0" },
...@@ -239,16 +239,26 @@ struct commandHelp { ...@@ -239,16 +239,26 @@ struct commandHelp {
"Set client eviction mode for the current connection", "Set client eviction mode for the current connection",
8, 8,
"7.0.0" }, "7.0.0" },
{ "CLIENT NO-TOUCH",
"ON|OFF",
"Controls whether commands sent by the client will alter the LRU/LFU of the keys they access.",
8,
"7.2.0" },
{ "CLIENT PAUSE", { "CLIENT PAUSE",
"timeout [WRITE|ALL]", "timeout [WRITE|ALL]",
"Stop processing commands from clients for some time", "Stop processing commands from clients for some time",
8, 8,
"2.9.50" }, "3.0.0" },
{ "CLIENT REPLY", { "CLIENT REPLY",
"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.0" }, "3.2.0" },
{ "CLIENT SETINFO",
"LIB-NAME libname|LIB-VER libver",
"Set client or connection specific info",
8,
"7.2.0" },
{ "CLIENT SETNAME", { "CLIENT SETNAME",
"connection-name", "connection-name",
"Set the current connection name", "Set the current connection name",
...@@ -355,7 +365,7 @@ struct commandHelp { ...@@ -355,7 +365,7 @@ struct commandHelp {
12, 12,
"7.0.0" }, "7.0.0" },
{ "CLUSTER MEET", { "CLUSTER MEET",
"ip port [cluster_bus_port]", "ip port [cluster-bus-port]",
"Force a node cluster to handshake with another node", "Force a node cluster to handshake with another node",
12, 12,
"3.0.0" }, "3.0.0" },
...@@ -364,6 +374,11 @@ struct commandHelp { ...@@ -364,6 +374,11 @@ struct commandHelp {
"Return the node id", "Return the node id",
12, 12,
"3.0.0" }, "3.0.0" },
{ "CLUSTER MYSHARDID",
"",
"Return the node shard id",
12,
"7.2.0" },
{ "CLUSTER NODES", { "CLUSTER NODES",
"", "",
"Get Cluster config for the node", "Get Cluster config for the node",
...@@ -395,7 +410,7 @@ struct commandHelp { ...@@ -395,7 +410,7 @@ struct commandHelp {
12, 12,
"3.0.0" }, "3.0.0" },
{ "CLUSTER SETSLOT", { "CLUSTER SETSLOT",
"slot IMPORTING node-id|MIGRATING node-id|NODE node-id|STABLE", "slot IMPORTING importing|MIGRATING migrating|NODE node|STABLE",
"Bind a hash slot to a specific node", "Bind a hash slot to a specific node",
12, 12,
"3.0.0" }, "3.0.0" },
...@@ -430,12 +445,12 @@ struct commandHelp { ...@@ -430,12 +445,12 @@ struct commandHelp {
9, 9,
"7.0.0" }, "7.0.0" },
{ "COMMAND GETKEYS", { "COMMAND GETKEYS",
"", "command [arg [arg ...]]",
"Extract keys given a full Redis command", "Extract keys given a full Redis command",
9, 9,
"2.8.13" }, "2.8.13" },
{ "COMMAND GETKEYSANDFLAGS", { "COMMAND GETKEYSANDFLAGS",
"", "command [arg [arg ...]]",
"Extract keys and access flags given a full Redis command", "Extract keys and access flags given a full Redis command",
9, 9,
"7.0.0" }, "7.0.0" },
...@@ -540,12 +555,12 @@ struct commandHelp { ...@@ -540,12 +555,12 @@ struct commandHelp {
10, 10,
"2.6.0" }, "2.6.0" },
{ "EVALSHA_RO", { "EVALSHA_RO",
"sha1 numkeys key [key ...] arg [arg ...]", "sha1 numkeys [key [key ...]] [arg [arg ...]]",
"Execute a read-only Lua script server side", "Execute a read-only Lua script server side",
10, 10,
"7.0.0" }, "7.0.0" },
{ "EVAL_RO", { "EVAL_RO",
"script numkeys key [key ...] arg [arg ...]", "script numkeys [key [key ...]] [arg [arg ...]]",
"Execute a read-only Lua script server side", "Execute a read-only Lua script server side",
10, 10,
"7.0.0" }, "7.0.0" },
...@@ -580,12 +595,12 @@ struct commandHelp { ...@@ -580,12 +595,12 @@ struct commandHelp {
9, 9,
"6.2.0" }, "6.2.0" },
{ "FCALL", { "FCALL",
"function numkeys key [key ...] arg [arg ...]", "function numkeys [key [key ...]] [arg [arg ...]]",
"Invoke a function", "Invoke a function",
10, 10,
"7.0.0" }, "7.0.0" },
{ "FCALL_RO", { "FCALL_RO",
"function numkeys key [key ...] arg [arg ...]", "function numkeys [key [key ...]] [arg [arg ...]]",
"Invoke a read-only function", "Invoke a read-only function",
10, 10,
"7.0.0" }, "7.0.0" },
...@@ -660,22 +675,22 @@ struct commandHelp { ...@@ -660,22 +675,22 @@ struct commandHelp {
13, 13,
"3.2.0" }, "3.2.0" },
{ "GEOHASH", { "GEOHASH",
"key member [member ...]", "key [member [member ...]]",
"Returns members of a geospatial index as standard geohash strings", "Returns members of a geospatial index as standard geohash strings",
13, 13,
"3.2.0" }, "3.2.0" },
{ "GEOPOS", { "GEOPOS",
"key member [member ...]", "key [member [member ...]]",
"Returns longitude and latitude of members of a geospatial index", "Returns longitude and latitude of members of a geospatial index",
13, 13,
"3.2.0" }, "3.2.0" },
{ "GEORADIUS", { "GEORADIUS",
"key longitude latitude radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]", "key longitude latitude radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE storekey] [STOREDIST storedistkey]",
"Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point", "Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point",
13, 13,
"3.2.0" }, "3.2.0" },
{ "GEORADIUSBYMEMBER", { "GEORADIUSBYMEMBER",
"key member radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE key] [STOREDIST key]", "key member radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT count [ANY]] [ASC|DESC] [STORE storekey] [STOREDIST storedistkey]",
"Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member", "Query a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member",
13, 13,
"3.2.0" }, "3.2.0" },
...@@ -885,7 +900,7 @@ struct commandHelp { ...@@ -885,7 +900,7 @@ struct commandHelp {
9, 9,
"2.8.13" }, "2.8.13" },
{ "LCS", { "LCS",
"key1 key2 [LEN] [IDX] [MINMATCHLEN len] [WITHMATCHLEN]", "key1 key2 [LEN] [IDX] [MINMATCHLEN min-match-len] [WITHMATCHLEN]",
"Find longest common substring", "Find longest common substring",
1, 1,
"7.0.0" }, "7.0.0" },
...@@ -1000,7 +1015,7 @@ struct commandHelp { ...@@ -1000,7 +1015,7 @@ struct commandHelp {
1, 1,
"1.0.0" }, "1.0.0" },
{ "MIGRATE", { "MIGRATE",
"host port key| destination-db timeout [COPY] [REPLACE] [[AUTH password]|[AUTH2 username password]] [KEYS key [key ...]]", "host port key| destination-db timeout [COPY] [REPLACE] [AUTH auth|AUTH2 username password] [KEYS keys [keys ...]]",
"Atomically transfer a key from a Redis instance to another one.", "Atomically transfer a key from a Redis instance to another one.",
0, 0,
"2.6.0" }, "2.6.0" },
...@@ -1025,7 +1040,7 @@ struct commandHelp { ...@@ -1025,7 +1040,7 @@ struct commandHelp {
9, 9,
"4.0.0" }, "4.0.0" },
{ "MODULE LOADEX", { "MODULE LOADEX",
"path [CONFIG name value [CONFIG name value ...]] [ARGS arg [arg ...]]", "path [CONFIG name value [CONFIG name value ...]] [ARGS args [args ...]]",
"Load a module with extended parameters", "Load a module with extended parameters",
9, 9,
"7.0.0" }, "7.0.0" },
...@@ -1450,12 +1465,12 @@ struct commandHelp { ...@@ -1450,12 +1465,12 @@ struct commandHelp {
3, 3,
"1.0.0" }, "1.0.0" },
{ "SORT", { "SORT",
"key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]", "key [BY by-pattern] [LIMIT offset count] [GET get-pattern [GET get-pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]",
"Sort the elements in a list, set or sorted set", "Sort the elements in a list, set or sorted set",
0, 0,
"1.0.0" }, "1.0.0" },
{ "SORT_RO", { "SORT_RO",
"key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA]", "key [BY by-pattern] [LIMIT offset count] [GET get-pattern [GET get-pattern ...]] [ASC|DESC] [ALPHA]",
"Sort the elements in a list, set or sorted set. Read-only variant of SORT.", "Sort the elements in a list, set or sorted set. Read-only variant of SORT.",
0, 0,
"7.0.0" }, "7.0.0" },
...@@ -1569,6 +1584,11 @@ struct commandHelp { ...@@ -1569,6 +1584,11 @@ struct commandHelp {
"Wait for the synchronous replication of all the write commands sent in the context of the current connection", "Wait for the synchronous replication of all the write commands sent in the context of the current connection",
0, 0,
"3.0.0" }, "3.0.0" },
{ "WAITAOF",
"numlocal numreplicas timeout",
"Wait for all write commands sent in the context of the current connection to be synced to AOF of local host and/or replicas",
0,
"7.2.0" },
{ "WATCH", { "WATCH",
"key [key ...]", "key [key ...]",
"Watch the given keys to determine execution of the MULTI/EXEC block", "Watch the given keys to determine execution of the MULTI/EXEC block",
...@@ -1590,7 +1610,7 @@ struct commandHelp { ...@@ -1590,7 +1610,7 @@ struct commandHelp {
14, 14,
"6.2.0" }, "6.2.0" },
{ "XCLAIM", { "XCLAIM",
"key group consumer min-idle-time id [id ...] [IDLE ms] [TIME unix-time-milliseconds] [RETRYCOUNT count] [FORCE] [JUSTID]", "key group consumer min-idle-time id [id ...] [IDLE ms] [TIME unix-time-milliseconds] [RETRYCOUNT count] [FORCE] [JUSTID] [LASTID lastid]",
"Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.", "Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.",
14, 14,
"5.0.0" }, "5.0.0" },
...@@ -1605,22 +1625,22 @@ struct commandHelp { ...@@ -1605,22 +1625,22 @@ struct commandHelp {
14, 14,
"5.0.0" }, "5.0.0" },
{ "XGROUP CREATE", { "XGROUP CREATE",
"key groupname id|$ [MKSTREAM] [ENTRIESREAD entries_read]", "key group id|$ [MKSTREAM] [ENTRIESREAD entries-read]",
"Create a consumer group.", "Create a consumer group.",
14, 14,
"5.0.0" }, "5.0.0" },
{ "XGROUP CREATECONSUMER", { "XGROUP CREATECONSUMER",
"key groupname consumername", "key group consumer",
"Create a consumer in a consumer group.", "Create a consumer in a consumer group.",
14, 14,
"6.2.0" }, "6.2.0" },
{ "XGROUP DELCONSUMER", { "XGROUP DELCONSUMER",
"key groupname consumername", "key group consumer",
"Delete a consumer from a consumer group.", "Delete a consumer from a consumer group.",
14, 14,
"5.0.0" }, "5.0.0" },
{ "XGROUP DESTROY", { "XGROUP DESTROY",
"key groupname", "key group",
"Destroy a consumer group.", "Destroy a consumer group.",
14, 14,
"5.0.0" }, "5.0.0" },
...@@ -1630,7 +1650,7 @@ struct commandHelp { ...@@ -1630,7 +1650,7 @@ struct commandHelp {
14, 14,
"5.0.0" }, "5.0.0" },
{ "XGROUP SETID", { "XGROUP SETID",
"key groupname id|$ [ENTRIESREAD entries_read]", "key group id|$ [ENTRIESREAD entriesread]",
"Set a consumer group to an arbitrary last delivered ID value.", "Set a consumer group to an arbitrary last delivered ID value.",
14, 14,
"5.0.0" }, "5.0.0" },
...@@ -1640,7 +1660,7 @@ struct commandHelp { ...@@ -1640,7 +1660,7 @@ struct commandHelp {
14, 14,
"5.0.0" }, "5.0.0" },
{ "XINFO CONSUMERS", { "XINFO CONSUMERS",
"key groupname", "key group",
"List the consumers in a consumer group", "List the consumers in a consumer group",
14, 14,
"5.0.0" }, "5.0.0" },
...@@ -1690,7 +1710,7 @@ struct commandHelp { ...@@ -1690,7 +1710,7 @@ struct commandHelp {
14, 14,
"5.0.0" }, "5.0.0" },
{ "XSETID", { "XSETID",
"key last-id [ENTRIESADDED entries_added] [MAXDELETEDID max_deleted_entry_id]", "key last-id [ENTRIESADDED entries-added] [MAXDELETEDID max-deleted-id]",
"An internal command for replicating stream values", "An internal command for replicating stream values",
14, 14,
"5.0.0" }, "5.0.0" },
...@@ -1795,7 +1815,7 @@ struct commandHelp { ...@@ -1795,7 +1815,7 @@ struct commandHelp {
4, 4,
"6.2.0" }, "6.2.0" },
{ "ZRANK", { "ZRANK",
"key member", "key member [WITHSCORE]",
"Determine the index of a member in a sorted set", "Determine the index of a member in a sorted set",
4, 4,
"2.0.0" }, "2.0.0" },
...@@ -1835,7 +1855,7 @@ struct commandHelp { ...@@ -1835,7 +1855,7 @@ struct commandHelp {
4, 4,
"2.2.0" }, "2.2.0" },
{ "ZREVRANK", { "ZREVRANK",
"key member", "key member [WITHSCORE]",
"Determine the index of a member in a sorted set, with scores ordered from high to low", "Determine the index of a member in a sorted set, with scores ordered from high to low",
4, 4,
"2.0.0" }, "2.0.0" },
......
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