diff options
author | Madelyn Olson <34459052+madolson@users.noreply.github.com> | 2022-04-05 00:36:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 10:36:06 +0300 |
commit | 4ffcec29af9dc1246540d94834540528576c68a4 (patch) | |
tree | 5e41dbd0004d8dde6e198048d43033e039467b60 /src/commands.c | |
parent | ae020e3d5665e46dbd2704b46b6ad207dd4471d9 (diff) | |
download | redis-4ffcec29af9dc1246540d94834540528576c68a4.tar.gz |
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.
Diffstat (limited to 'src/commands.c')
-rw-r--r-- | src/commands.c | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/src/commands.c b/src/commands.c index cd61cc262..efc159ad8 100644 --- a/src/commands.c +++ b/src/commands.c @@ -635,7 +635,7 @@ struct redisCommandArg CLUSTER_SLAVES_Args[] = { /* CLUSTER SLOTS history */ commandHistory CLUSTER_SLOTS_History[] = { {"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} }; @@ -883,7 +883,6 @@ struct redisCommandArg CLIENT_NO_EVICT_Args[] = { /* 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."}, {0} }; @@ -1564,10 +1563,7 @@ NULL /********** RENAME ********************/ /* RENAME history */ -commandHistory RENAME_History[] = { -{"3.2.0","The command no longer returns an error when source and destination names are the same."}, -{0} -}; +#define RENAME_History NULL /* RENAME tips */ #define RENAME_tips NULL @@ -3178,10 +3174,7 @@ struct redisCommandArg SSUBSCRIBE_Args[] = { /********** SUBSCRIBE ********************/ /* SUBSCRIBE history */ -commandHistory SUBSCRIBE_History[] = { -{"6.2.0","`RESET` can be called to exit subscribed state."}, -{0} -}; +#define SUBSCRIBE_History NULL /* SUBSCRIBE tips */ #define SUBSCRIBE_tips NULL @@ -3536,7 +3529,7 @@ struct redisCommandArg SCRIPT_EXISTS_Args[] = { /* 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} }; @@ -4417,7 +4410,7 @@ struct redisCommandArg FAILOVER_Args[] = { /* FLUSHALL history */ commandHistory FLUSHALL_History[] = { {"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} }; @@ -4446,7 +4439,7 @@ struct redisCommandArg FLUSHALL_Args[] = { /* FLUSHDB history */ commandHistory FLUSHDB_History[] = { {"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} }; @@ -4837,12 +4830,7 @@ struct redisCommand MODULE_Subcommands[] = { /********** MONITOR ********************/ /* MONITOR history */ -commandHistory MONITOR_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."}, -{0} -}; +#define MONITOR_History NULL /* MONITOR tips */ #define MONITOR_tips NULL @@ -4913,7 +4901,7 @@ struct redisCommandArg REPLICAOF_Args[] = { /* 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} }; |