diff options
author | Itamar Haber <itamar@garantiadata.com> | 2021-12-29 21:57:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 21:57:40 +0200 |
commit | aec8c57701c0c6df995556dde37ef2fe9c9583ac (patch) | |
tree | 1d7e1c7e2a23a188454c8ce72473a03a6700e8d5 /src/commands/client-kill.json | |
parent | b0c06e904a94bbc2da8003a1b230482ee34d6d5f (diff) | |
download | redis-aec8c57701c0c6df995556dde37ef2fe9c9583ac.tar.gz |
Add missing metadata to the commands SSOT files. (#10016)
Add missing information about commands, mainly from reviewing redis-doc and removing
the metadata from it (https://github.com/redis/redis-doc/pull/1722)
* Reintroduces CLUSTER S****S (supported by Redis) but missing from the JSON / docs (related? #9675).
Note that without that json file, the command won't work (breaking change)
* Adds the `replicas` argument (exists in Redis) to `CLIENT KILL`.
* Adds `history` entries to several commands based on redis-doc's man pages.
* Adds `since` to applicable command arguments based on `history` (this basically makes
some of `history` redundant - perhaps at a later stage).
* Uses proper semantic versioning in all version references.
* Also removes `geoencodeCommand` and `geodecodeCommand` header
declarations per b96af595a5fddbbdcbf78ed3c51acd60976416f4.
Diffstat (limited to 'src/commands/client-kill.json')
-rw-r--r-- | src/commands/client-kill.json | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/commands/client-kill.json b/src/commands/client-kill.json index 8c8d3960c..398738bb2 100644 --- a/src/commands/client-kill.json +++ b/src/commands/client-kill.json @@ -10,22 +10,22 @@ "history": [ [ "2.8.12", - "Added new filter format. " + "Added new filter format." ], [ "2.8.12", "`ID` option." ], [ - "3.2", + "3.2.0", "Added `master` type in for `TYPE` option." ], [ - "5", + "5.0.0", "Replaced `slave` `TYPE` with `replica`. `slave` still supported for backward compatibility." ], [ - "6.2", + "6.2.0", "`LADDR` option." ] ], @@ -48,13 +48,15 @@ "token": "ID", "name": "client-id", "type": "integer", - "optional": true + "optional": true, + "since": "2.8.12" }, { "token": "TYPE", "name": "normal_master_slave_pubsub", "type": "oneof", "optional": true, + "since": "2.8.12", "arguments": [ { "name": "normal", @@ -64,7 +66,8 @@ { "name": "master", "type": "pure-token", - "token": "master" + "token": "master", + "since": "3.2.0" }, { "name": "slave", @@ -72,6 +75,12 @@ "token": "slave" }, { + "name": "replica", + "type": "pure-token", + "token": "replica", + "since": "5.0.0" + }, + { "name": "pubsub", "type": "pure-token", "token": "pubsub" @@ -94,7 +103,8 @@ "token": "LADDR", "name": "ip:port", "type": "string", - "optional": true + "optional": true, + "since": "6.2.0" }, { "token": "SKIPME", |