diff options
author | Itamar Haber <itamar@redis.com> | 2022-04-06 09:33:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 09:33:33 +0300 |
commit | 3e09a8c09770dfbe5c8a1c3d2ebc4599448ba7c4 (patch) | |
tree | 8ecd86c412569a711be16230978142c87cad5c63 /src/commands/module-loadex.json | |
parent | f110de4b239d23b8436fdc742a557103c5852aad (diff) | |
download | redis-3e09a8c09770dfbe5c8a1c3d2ebc4599448ba7c4.tar.gz |
Fixes commands' syntices (#10534)
Fixes in command argument in json files
* Fixes BITFIELD's syntax ("sub-commands" can be repeated, and OVERFLOW is only valid for SET and INCR)
* Improves readability of SET (reordered)
* Fixes GEOSEARCH and GEOSEARCH_RO syntices (use `oneof` for mutually exclusive group instead of `optional`)
* Fixes MIGRATE syntax (use `oneof` for mutually exclusive group instead of `optional`)
* Fixes MODULE LOADEX syntax (the `CONFIG` token should be repeated too when using multiple configs)
other:
* make generate-command-help.rb accept a path to commands.json, or read it from stdin (e.g. `generate-commands-json.py | generate-command-help.rb -`)
Diffstat (limited to 'src/commands/module-loadex.json')
-rw-r--r-- | src/commands/module-loadex.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/module-loadex.json b/src/commands/module-loadex.json index e772cbfe4..97e8f2b58 100644 --- a/src/commands/module-loadex.json +++ b/src/commands/module-loadex.json @@ -23,6 +23,7 @@ "token": "CONFIG", "type": "block", "multiple": true, + "multiple_token": true, "optional": true, "arguments": [ { |