mirror of
http://github.com/valkey-io/valkey
synced 2024-11-23 11:51:01 +00:00
223046ec9a
This PR makes sure that "name" is unique for all arguments in the same level (i.e. all args of a command and all args within a block/oneof). This means several argument with identical meaning can be referred to together, but also if someone needs to refer to a specific one, they can use its full path. In addition, the "display_text" field has been added, to be used by redis.io in order to render the syntax of the command (for the vast majority it is identical to "name" but sometimes we want to use a different string that is not "name") The "display" field is exposed via COMMAND DOCS and will be present for every argument, except "oneof" and "block" (which are container arguments) Other changes: 1. Make sure we do not have any container arguments ("oneof" or "block") that contain less than two sub-args (otherwise it doesn't make sense) 2. migrate.json: both AUTH and AUTH2 should not be "optional" 3. arg names cannot contain underscores, and force the usage of hyphens (most of these were a result of the script that generated the initial json files from redis.io commands.json). |
||
---|---|---|
.. | ||
create-cluster | ||
graphs/commits-over-time | ||
hyperloglog | ||
lru | ||
releasetools | ||
srandmember | ||
build-static-symbols.tcl | ||
cluster_fail_time.tcl | ||
corrupt_rdb.c | ||
gen-test-certs.sh | ||
generate-command-code.py | ||
generate-command-help.rb | ||
generate-commands-json.py | ||
generate-module-api-doc.rb | ||
install_server.sh | ||
redis_init_script | ||
redis_init_script.tpl | ||
redis-copy.rb | ||
redis-sha1.rb | ||
speed-regression.tcl | ||
systemd-redis_multiple_servers@.service | ||
systemd-redis_server.service | ||
tracking_collisions.c | ||
whatisdoing.sh |