mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -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
|
||||
#define __REDIS_HELP_H
|
||||
@ -17,7 +17,8 @@ static char *commandGroups[] = {
|
||||
"scripting",
|
||||
"hyperloglog",
|
||||
"cluster",
|
||||
"geo"
|
||||
"geo",
|
||||
"stream"
|
||||
};
|
||||
|
||||
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",
|
||||
2,
|
||||
"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",
|
||||
"-",
|
||||
"Get the current connection name",
|
||||
@ -318,12 +329,12 @@ struct commandHelp {
|
||||
0,
|
||||
"1.2.0" },
|
||||
{ "FLUSHALL",
|
||||
"-",
|
||||
"[ASYNC]",
|
||||
"Remove all keys from all databases",
|
||||
9,
|
||||
"1.0.0" },
|
||||
{ "FLUSHDB",
|
||||
"-",
|
||||
"[ASYNC]",
|
||||
"Remove all keys from the current database",
|
||||
9,
|
||||
"1.0.0" },
|
||||
@ -532,6 +543,36 @@ struct commandHelp {
|
||||
"Trim a list to the specified range",
|
||||
2,
|
||||
"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",
|
||||
"key [key ...]",
|
||||
"Get the values of all the given keys",
|
||||
@ -723,7 +764,7 @@ struct commandHelp {
|
||||
10,
|
||||
"3.2.0" },
|
||||
{ "SCRIPT EXISTS",
|
||||
"script [script ...]",
|
||||
"sha1 [sha1 ...]",
|
||||
"Check existence of scripts in the script cache.",
|
||||
10,
|
||||
"2.6.0" },
|
||||
@ -758,7 +799,7 @@ struct commandHelp {
|
||||
8,
|
||||
"1.0.0" },
|
||||
{ "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",
|
||||
1,
|
||||
"1.0.0" },
|
||||
@ -867,6 +908,11 @@ struct commandHelp {
|
||||
"Add multiple sets and store the resulting set in a key",
|
||||
3,
|
||||
"1.0.0" },
|
||||
{ "SWAPDB",
|
||||
"index index",
|
||||
"Swaps two Redis databases",
|
||||
8,
|
||||
"4.0.0" },
|
||||
{ "SYNC",
|
||||
"-",
|
||||
"Internal command used for replication",
|
||||
@ -877,6 +923,11 @@ struct commandHelp {
|
||||
"Return the current server time",
|
||||
9,
|
||||
"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",
|
||||
"key",
|
||||
"Get the time to live for a key",
|
||||
@ -887,6 +938,11 @@ struct commandHelp {
|
||||
"Determine the type stored at key",
|
||||
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",
|
||||
"[channel [channel ...]]",
|
||||
"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",
|
||||
7,
|
||||
"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",
|
||||
"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",
|
||||
@ -937,6 +1028,16 @@ struct commandHelp {
|
||||
"Count the number of members in a sorted set between a given lexicographical range",
|
||||
4,
|
||||
"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",
|
||||
"key start stop [WITHSCORES]",
|
||||
"Return a range of members in a sorted set, by index",
|
||||
|
Loading…
Reference in New Issue
Block a user