mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
redis-cli inline help updated.
This commit is contained in:
parent
b2fc2eaecb
commit
2268d7e5dd
113
src/help.h
113
src/help.h
@ -1,4 +1,4 @@
|
|||||||
/* Automatically generated by utils/generate-command-help.rb, do not edit. */
|
/* Automatically generated by generate-command-help.rb, do not edit. */
|
||||||
|
|
||||||
#ifndef __REDIS_HELP_H
|
#ifndef __REDIS_HELP_H
|
||||||
#define __REDIS_HELP_H
|
#define __REDIS_HELP_H
|
||||||
@ -17,7 +17,8 @@ static char *commandGroups[] = {
|
|||||||
"scripting",
|
"scripting",
|
||||||
"hyperloglog",
|
"hyperloglog",
|
||||||
"cluster",
|
"cluster",
|
||||||
"geo"
|
"geo",
|
||||||
|
"stream"
|
||||||
};
|
};
|
||||||
|
|
||||||
struct commandHelp {
|
struct commandHelp {
|
||||||
@ -82,6 +83,16 @@ struct commandHelp {
|
|||||||
"Pop a value from a list, push it to another list and return it; or block until one is available",
|
"Pop a value from a list, push it to another list and return it; or block until one is available",
|
||||||
2,
|
2,
|
||||||
"2.2.0" },
|
"2.2.0" },
|
||||||
|
{ "BZPOPMAX",
|
||||||
|
"key [key ...] timeout",
|
||||||
|
"Remove and return the member with the highest score from one or more sorted sets, or block until one is available",
|
||||||
|
4,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "BZPOPMIN",
|
||||||
|
"key [key ...] timeout",
|
||||||
|
"Remove and return the member with the lowest score from one or more sorted sets, or block until one is available",
|
||||||
|
4,
|
||||||
|
"5.0.0" },
|
||||||
{ "CLIENT GETNAME",
|
{ "CLIENT GETNAME",
|
||||||
"-",
|
"-",
|
||||||
"Get the current connection name",
|
"Get the current connection name",
|
||||||
@ -318,12 +329,12 @@ struct commandHelp {
|
|||||||
0,
|
0,
|
||||||
"1.2.0" },
|
"1.2.0" },
|
||||||
{ "FLUSHALL",
|
{ "FLUSHALL",
|
||||||
"-",
|
"[ASYNC]",
|
||||||
"Remove all keys from all databases",
|
"Remove all keys from all databases",
|
||||||
9,
|
9,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
{ "FLUSHDB",
|
{ "FLUSHDB",
|
||||||
"-",
|
"[ASYNC]",
|
||||||
"Remove all keys from the current database",
|
"Remove all keys from the current database",
|
||||||
9,
|
9,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
@ -532,6 +543,36 @@ struct commandHelp {
|
|||||||
"Trim a list to the specified range",
|
"Trim a list to the specified range",
|
||||||
2,
|
2,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
|
{ "MEMORY DOCTOR",
|
||||||
|
"-",
|
||||||
|
"Outputs memory problems report",
|
||||||
|
9,
|
||||||
|
"4.0.0" },
|
||||||
|
{ "MEMORY HELP",
|
||||||
|
"-",
|
||||||
|
"Show helpful text about the different subcommands",
|
||||||
|
9,
|
||||||
|
"4.0.0" },
|
||||||
|
{ "MEMORY MALLOC-STATS",
|
||||||
|
"-",
|
||||||
|
"Show allocator internal stats",
|
||||||
|
9,
|
||||||
|
"4.0.0" },
|
||||||
|
{ "MEMORY PURGE",
|
||||||
|
"-",
|
||||||
|
"Ask the allocator to release memory",
|
||||||
|
9,
|
||||||
|
"4.0.0" },
|
||||||
|
{ "MEMORY STATS",
|
||||||
|
"-",
|
||||||
|
"Show memory usage details",
|
||||||
|
9,
|
||||||
|
"4.0.0" },
|
||||||
|
{ "MEMORY USAGE",
|
||||||
|
"key [SAMPLES count]",
|
||||||
|
"Estimate the memory usage of a key",
|
||||||
|
9,
|
||||||
|
"4.0.0" },
|
||||||
{ "MGET",
|
{ "MGET",
|
||||||
"key [key ...]",
|
"key [key ...]",
|
||||||
"Get the values of all the given keys",
|
"Get the values of all the given keys",
|
||||||
@ -723,7 +764,7 @@ struct commandHelp {
|
|||||||
10,
|
10,
|
||||||
"3.2.0" },
|
"3.2.0" },
|
||||||
{ "SCRIPT EXISTS",
|
{ "SCRIPT EXISTS",
|
||||||
"script [script ...]",
|
"sha1 [sha1 ...]",
|
||||||
"Check existence of scripts in the script cache.",
|
"Check existence of scripts in the script cache.",
|
||||||
10,
|
10,
|
||||||
"2.6.0" },
|
"2.6.0" },
|
||||||
@ -758,7 +799,7 @@ struct commandHelp {
|
|||||||
8,
|
8,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
{ "SET",
|
{ "SET",
|
||||||
"key value [EX seconds] [PX milliseconds] [NX|XX]",
|
"key value [expiration EX seconds|PX milliseconds] [NX|XX]",
|
||||||
"Set the string value of a key",
|
"Set the string value of a key",
|
||||||
1,
|
1,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
@ -867,6 +908,11 @@ struct commandHelp {
|
|||||||
"Add multiple sets and store the resulting set in a key",
|
"Add multiple sets and store the resulting set in a key",
|
||||||
3,
|
3,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
|
{ "SWAPDB",
|
||||||
|
"index index",
|
||||||
|
"Swaps two Redis databases",
|
||||||
|
8,
|
||||||
|
"4.0.0" },
|
||||||
{ "SYNC",
|
{ "SYNC",
|
||||||
"-",
|
"-",
|
||||||
"Internal command used for replication",
|
"Internal command used for replication",
|
||||||
@ -877,6 +923,11 @@ struct commandHelp {
|
|||||||
"Return the current server time",
|
"Return the current server time",
|
||||||
9,
|
9,
|
||||||
"2.6.0" },
|
"2.6.0" },
|
||||||
|
{ "TOUCH",
|
||||||
|
"key [key ...]",
|
||||||
|
"Alters the last access time of a key(s). Returns the number of existing keys specified.",
|
||||||
|
0,
|
||||||
|
"3.2.1" },
|
||||||
{ "TTL",
|
{ "TTL",
|
||||||
"key",
|
"key",
|
||||||
"Get the time to live for a key",
|
"Get the time to live for a key",
|
||||||
@ -887,6 +938,11 @@ struct commandHelp {
|
|||||||
"Determine the type stored at key",
|
"Determine the type stored at key",
|
||||||
0,
|
0,
|
||||||
"1.0.0" },
|
"1.0.0" },
|
||||||
|
{ "UNLINK",
|
||||||
|
"key [key ...]",
|
||||||
|
"Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.",
|
||||||
|
0,
|
||||||
|
"4.0.0" },
|
||||||
{ "UNSUBSCRIBE",
|
{ "UNSUBSCRIBE",
|
||||||
"[channel [channel ...]]",
|
"[channel [channel ...]]",
|
||||||
"Stop listening for messages posted to the given channels",
|
"Stop listening for messages posted to the given channels",
|
||||||
@ -907,6 +963,41 @@ struct commandHelp {
|
|||||||
"Watch the given keys to determine execution of the MULTI/EXEC block",
|
"Watch the given keys to determine execution of the MULTI/EXEC block",
|
||||||
7,
|
7,
|
||||||
"2.2.0" },
|
"2.2.0" },
|
||||||
|
{ "XADD",
|
||||||
|
"key ID field string [field string ...]",
|
||||||
|
"Appends a new entry to a stream",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "XLEN",
|
||||||
|
"key",
|
||||||
|
"Return the number of entires in a stream",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "XPENDING",
|
||||||
|
"key group [start end count] [consumer]",
|
||||||
|
"Return information and entries from a stream conusmer group pending entries list, that are messages fetched but never acknowledged.",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "XRANGE",
|
||||||
|
"key start end [COUNT count]",
|
||||||
|
"Return a range of elements in a stream, with IDs matching the specified IDs interval",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "XREAD",
|
||||||
|
"[COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]",
|
||||||
|
"Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream. Can block.",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "XREADGROUP",
|
||||||
|
"GROUP group consumer [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]",
|
||||||
|
"Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer. Can block.",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "XREVRANGE",
|
||||||
|
"key end start [COUNT count]",
|
||||||
|
"Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE",
|
||||||
|
14,
|
||||||
|
"5.0.0" },
|
||||||
{ "ZADD",
|
{ "ZADD",
|
||||||
"key [NX|XX] [CH] [INCR] score member [score member ...]",
|
"key [NX|XX] [CH] [INCR] score member [score member ...]",
|
||||||
"Add one or more members to a sorted set, or update its score if it already exists",
|
"Add one or more members to a sorted set, or update its score if it already exists",
|
||||||
@ -937,6 +1028,16 @@ struct commandHelp {
|
|||||||
"Count the number of members in a sorted set between a given lexicographical range",
|
"Count the number of members in a sorted set between a given lexicographical range",
|
||||||
4,
|
4,
|
||||||
"2.8.9" },
|
"2.8.9" },
|
||||||
|
{ "ZPOPMAX",
|
||||||
|
"key [count]",
|
||||||
|
"Remove and return members with the highest scores in a sorted set",
|
||||||
|
4,
|
||||||
|
"5.0.0" },
|
||||||
|
{ "ZPOPMIN",
|
||||||
|
"key [count]",
|
||||||
|
"Remove and return members with the lowest scores in a sorted set",
|
||||||
|
4,
|
||||||
|
"5.0.0" },
|
||||||
{ "ZRANGE",
|
{ "ZRANGE",
|
||||||
"key start stop [WITHSCORES]",
|
"key start stop [WITHSCORES]",
|
||||||
"Return a range of members in a sorted set, by index",
|
"Return a range of members in a sorted set, by index",
|
||||||
|
Loading…
Reference in New Issue
Block a user