mirror of https://mirror.osredm.com/root/redis.git
Update json command files so they only include syntax related information (#10398)
The command json documents should just include information about the "arguments" and the "outputs". I removed all of the 'functional wording' so it's clear.
This commit is contained in:
parent
ae020e3d56
commit
4ffcec29af
|
@ -635,7 +635,7 @@ struct redisCommandArg CLUSTER_SLAVES_Args[] = {
|
||||||
/* CLUSTER SLOTS history */
|
/* CLUSTER SLOTS history */
|
||||||
commandHistory CLUSTER_SLOTS_History[] = {
|
commandHistory CLUSTER_SLOTS_History[] = {
|
||||||
{"4.0.0","Added node IDs."},
|
{"4.0.0","Added node IDs."},
|
||||||
{"7.0.0","Added additional networking metadata and added support for hostnames and unknown endpoints."},
|
{"7.0.0","Added additional networking metadata field."},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -883,7 +883,6 @@ struct redisCommandArg CLIENT_NO_EVICT_Args[] = {
|
||||||
|
|
||||||
/* CLIENT PAUSE history */
|
/* CLIENT PAUSE history */
|
||||||
commandHistory CLIENT_PAUSE_History[] = {
|
commandHistory CLIENT_PAUSE_History[] = {
|
||||||
{"3.2.10","Client pause prevents client pause and key eviction as well."},
|
|
||||||
{"6.2.0","`CLIENT PAUSE WRITE` mode added along with the `mode` option."},
|
{"6.2.0","`CLIENT PAUSE WRITE` mode added along with the `mode` option."},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
@ -1564,10 +1563,7 @@ NULL
|
||||||
/********** RENAME ********************/
|
/********** RENAME ********************/
|
||||||
|
|
||||||
/* RENAME history */
|
/* RENAME history */
|
||||||
commandHistory RENAME_History[] = {
|
#define RENAME_History NULL
|
||||||
{"3.2.0","The command no longer returns an error when source and destination names are the same."},
|
|
||||||
{0}
|
|
||||||
};
|
|
||||||
|
|
||||||
/* RENAME tips */
|
/* RENAME tips */
|
||||||
#define RENAME_tips NULL
|
#define RENAME_tips NULL
|
||||||
|
@ -3178,10 +3174,7 @@ struct redisCommandArg SSUBSCRIBE_Args[] = {
|
||||||
/********** SUBSCRIBE ********************/
|
/********** SUBSCRIBE ********************/
|
||||||
|
|
||||||
/* SUBSCRIBE history */
|
/* SUBSCRIBE history */
|
||||||
commandHistory SUBSCRIBE_History[] = {
|
#define SUBSCRIBE_History NULL
|
||||||
{"6.2.0","`RESET` can be called to exit subscribed state."},
|
|
||||||
{0}
|
|
||||||
};
|
|
||||||
|
|
||||||
/* SUBSCRIBE tips */
|
/* SUBSCRIBE tips */
|
||||||
#define SUBSCRIBE_tips NULL
|
#define SUBSCRIBE_tips NULL
|
||||||
|
@ -3536,7 +3529,7 @@ struct redisCommandArg SCRIPT_EXISTS_Args[] = {
|
||||||
|
|
||||||
/* SCRIPT FLUSH history */
|
/* SCRIPT FLUSH history */
|
||||||
commandHistory SCRIPT_FLUSH_History[] = {
|
commandHistory SCRIPT_FLUSH_History[] = {
|
||||||
{"6.2.0","Added the `ASYNC` and `SYNC` flushing mode modifiers, as well as the **lazyfree-lazy-user-flush** configuration directive."},
|
{"6.2.0","Added the `ASYNC` and `SYNC` flushing mode modifiers."},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4417,7 +4410,7 @@ struct redisCommandArg FAILOVER_Args[] = {
|
||||||
/* FLUSHALL history */
|
/* FLUSHALL history */
|
||||||
commandHistory FLUSHALL_History[] = {
|
commandHistory FLUSHALL_History[] = {
|
||||||
{"4.0.0","Added the `ASYNC` flushing mode modifier."},
|
{"4.0.0","Added the `ASYNC` flushing mode modifier."},
|
||||||
{"6.2.0","Added the `SYNC` flushing mode modifier and the **lazyfree-lazy-user-flush** configuration directive."},
|
{"6.2.0","Added the `SYNC` flushing mode modifier."},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4446,7 +4439,7 @@ struct redisCommandArg FLUSHALL_Args[] = {
|
||||||
/* FLUSHDB history */
|
/* FLUSHDB history */
|
||||||
commandHistory FLUSHDB_History[] = {
|
commandHistory FLUSHDB_History[] = {
|
||||||
{"4.0.0","Added the `ASYNC` flushing mode modifier."},
|
{"4.0.0","Added the `ASYNC` flushing mode modifier."},
|
||||||
{"6.2.0","Added the `SYNC` flushing mode modifier and the **lazyfree-lazy-user-flush** configuration directive."},
|
{"6.2.0","Added the `SYNC` flushing mode modifier."},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4837,12 +4830,7 @@ struct redisCommand MODULE_Subcommands[] = {
|
||||||
/********** MONITOR ********************/
|
/********** MONITOR ********************/
|
||||||
|
|
||||||
/* MONITOR history */
|
/* MONITOR history */
|
||||||
commandHistory MONITOR_History[] = {
|
#define MONITOR_History NULL
|
||||||
{"6.0.0","`AUTH` excluded from the command's output."},
|
|
||||||
{"6.2.0","`RESET` can be called to exit monitor mode."},
|
|
||||||
{"6.2.4","`AUTH`, `HELLO`, `EVAL`, `EVAL_RO`, `EVALSHA` and `EVALSHA_RO` included in the command's output."},
|
|
||||||
{0}
|
|
||||||
};
|
|
||||||
|
|
||||||
/* MONITOR tips */
|
/* MONITOR tips */
|
||||||
#define MONITOR_tips NULL
|
#define MONITOR_tips NULL
|
||||||
|
@ -4913,7 +4901,7 @@ struct redisCommandArg REPLICAOF_Args[] = {
|
||||||
|
|
||||||
/* SHUTDOWN history */
|
/* SHUTDOWN history */
|
||||||
commandHistory SHUTDOWN_History[] = {
|
commandHistory SHUTDOWN_History[] = {
|
||||||
{"7.0.0","Added the `NOW`, `FORCE` and `ABORT` modifiers. Introduced waiting for lagging replicas before exiting."},
|
{"7.0.0","Added the `NOW`, `FORCE` and `ABORT` modifiers."},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -8,10 +8,6 @@
|
||||||
"container": "CLIENT",
|
"container": "CLIENT",
|
||||||
"function": "clientCommand",
|
"function": "clientCommand",
|
||||||
"history": [
|
"history": [
|
||||||
[
|
|
||||||
"3.2.10",
|
|
||||||
"Client pause prevents client pause and key eviction as well."
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
"6.2.0",
|
"6.2.0",
|
||||||
"`CLIENT PAUSE WRITE` mode added along with the `mode` option."
|
"`CLIENT PAUSE WRITE` mode added along with the `mode` option."
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"7.0.0",
|
"7.0.0",
|
||||||
"Added additional networking metadata and added support for hostnames and unknown endpoints."
|
"Added additional networking metadata field."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"6.2.0",
|
"6.2.0",
|
||||||
"Added the `SYNC` flushing mode modifier and the **lazyfree-lazy-user-flush** configuration directive."
|
"Added the `SYNC` flushing mode modifier."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"6.2.0",
|
"6.2.0",
|
||||||
"Added the `SYNC` flushing mode modifier and the **lazyfree-lazy-user-flush** configuration directive."
|
"Added the `SYNC` flushing mode modifier."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
|
|
|
@ -5,20 +5,7 @@
|
||||||
"since": "1.0.0",
|
"since": "1.0.0",
|
||||||
"arity": 1,
|
"arity": 1,
|
||||||
"function": "monitorCommand",
|
"function": "monitorCommand",
|
||||||
"history": [
|
"history": [],
|
||||||
[
|
|
||||||
"6.0.0",
|
|
||||||
"`AUTH` excluded from the command's output."
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"6.2.0",
|
|
||||||
"`RESET` can be called to exit monitor mode."
|
|
||||||
],
|
|
||||||
[
|
|
||||||
"6.2.4",
|
|
||||||
"`AUTH`, `HELLO`, `EVAL`, `EVAL_RO`, `EVALSHA` and `EVALSHA_RO` included in the command's output."
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
"ADMIN",
|
"ADMIN",
|
||||||
"NOSCRIPT",
|
"NOSCRIPT",
|
||||||
|
|
|
@ -6,12 +6,7 @@
|
||||||
"since": "1.0.0",
|
"since": "1.0.0",
|
||||||
"arity": 3,
|
"arity": 3,
|
||||||
"function": "renameCommand",
|
"function": "renameCommand",
|
||||||
"history": [
|
"history": [],
|
||||||
[
|
|
||||||
"3.2.0",
|
|
||||||
"The command no longer returns an error when source and destination names are the same."
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
"WRITE"
|
"WRITE"
|
||||||
],
|
],
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"history": [
|
"history": [
|
||||||
[
|
[
|
||||||
"6.2.0",
|
"6.2.0",
|
||||||
"Added the `ASYNC` and `SYNC` flushing mode modifiers, as well as the **lazyfree-lazy-user-flush** configuration directive."
|
"Added the `ASYNC` and `SYNC` flushing mode modifiers."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"history": [
|
"history": [
|
||||||
[
|
[
|
||||||
"7.0.0",
|
"7.0.0",
|
||||||
"Added the `NOW`, `FORCE` and `ABORT` modifiers. Introduced waiting for lagging replicas before exiting."
|
"Added the `NOW`, `FORCE` and `ABORT` modifiers."
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
|
|
|
@ -6,12 +6,7 @@
|
||||||
"since": "2.0.0",
|
"since": "2.0.0",
|
||||||
"arity": -2,
|
"arity": -2,
|
||||||
"function": "subscribeCommand",
|
"function": "subscribeCommand",
|
||||||
"history": [
|
"history": [],
|
||||||
[
|
|
||||||
"6.2.0",
|
|
||||||
"`RESET` can be called to exit subscribed state."
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"command_flags": [
|
"command_flags": [
|
||||||
"PUBSUB",
|
"PUBSUB",
|
||||||
"NOSCRIPT",
|
"NOSCRIPT",
|
||||||
|
|
Loading…
Reference in New Issue