summaryrefslogtreecommitdiff
path: root/tests/support
diff options
context:
space:
mode:
authorJason Elbaum <jason.elbaum@gmail.com>2022-02-05 16:54:16 +0200
committerGitHub <noreply@github.com>2022-02-05 16:54:16 +0200
commit5b17909c4f69830e93a569b6e4994c9775657e35 (patch)
treeef5ad8f9329cf1cb242099826449739f2c52021c /tests/support
parente662f6835e325e8a3e485828eacddc6bfdb91660 (diff)
downloadredis-5b17909c4f69830e93a569b6e4994c9775657e35.tar.gz
redis-cli generates command help tables from the results of COMMAND (#10043)
This is a followup to #9656 and implements the following step mentioned in that PR: * When possible, extract all the help and completion tips from COMMAND DOCS (Redis 7.0 and up) * If COMMAND DOCS fails, use the static help.h compiled into redis-cli. * Supplement additional command names from COMMAND (pre-Redis 7.0) The last step is needed to add module command and other non-standard commands. This PR does not change the interactive hinting mechanism, which still uses only the param strings to provide somewhat unreliable and inconsistent command hints (see #8084). That task is left for a future PR. Co-authored-by: Oran Agra <oran@redislabs.com>
Diffstat (limited to 'tests/support')
-rw-r--r--tests/support/util.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/support/util.tcl b/tests/support/util.tcl
index 5fc319254..9d1a127ed 100644
--- a/tests/support/util.tcl
+++ b/tests/support/util.tcl
@@ -647,7 +647,7 @@ proc latencyrstat_percentiles {cmd r} {
proc generate_fuzzy_traffic_on_key {key duration} {
# Commands per type, blocking commands removed
- # TODO: extract these from help.h or elsewhere, and improve to include other types
+ # TODO: extract these from COMMAND DOCS, and improve to include other types
set string_commands {APPEND BITCOUNT BITFIELD BITOP BITPOS DECR DECRBY GET GETBIT GETRANGE GETSET INCR INCRBY INCRBYFLOAT MGET MSET MSETNX PSETEX SET SETBIT SETEX SETNX SETRANGE LCS STRLEN}
set hash_commands {HDEL HEXISTS HGET HGETALL HINCRBY HINCRBYFLOAT HKEYS HLEN HMGET HMSET HSCAN HSET HSETNX HSTRLEN HVALS HRANDFIELD}
set zset_commands {ZADD ZCARD ZCOUNT ZINCRBY ZINTERSTORE ZLEXCOUNT ZPOPMAX ZPOPMIN ZRANGE ZRANGEBYLEX ZRANGEBYSCORE ZRANK ZREM ZREMRANGEBYLEX ZREMRANGEBYRANK ZREMRANGEBYSCORE ZREVRANGE ZREVRANGEBYLEX ZREVRANGEBYSCORE ZREVRANK ZSCAN ZSCORE ZUNIONSTORE ZRANDMEMBER}