Missing --memkeys and --keystats for some options in redis-cli help text (#13794)

Help text modified for -i, --count, --pattern.
This commit is contained in:
Yves LeBras 2025-02-12 16:42:38 -08:00 committed by GitHub
parent 1cd622bdca
commit 1583d60cd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 4 deletions

View File

@ -3118,7 +3118,7 @@ static void usage(int err) {
" -i <interval> When -r is used, waits <interval> seconds per command.\n"
" It is possible to specify sub-second times like -i 0.1.\n"
" This interval is also used in --scan and --stat per cycle.\n"
" and in --bigkeys, --memkeys, and --hotkeys per 100 cycles.\n"
" and in --bigkeys, --memkeys, --keystats, and --hotkeys per 100 cycles.\n"
" -n <db> Database number.\n"
" -2 Start session in RESP2 protocol mode.\n"
" -3 Start session in RESP3 protocol mode.\n"
@ -3181,9 +3181,10 @@ version,tls_usage);
" --hotkeys Sample Redis keys looking for hot keys.\n"
" only works when maxmemory-policy is *lfu.\n"
" --scan List all keys using the SCAN command.\n"
" --pattern <pat> Keys pattern when using the --scan, --bigkeys or --hotkeys\n"
" options (default: *).\n"
" --count <count> Count option when using the --scan, --bigkeys or --hotkeys (default: 10).\n"
" --pattern <pat> Keys pattern when using the --scan, --bigkeys, --memkeys,\n"
" --keystats or --hotkeys options (default: *).\n"
" --count <count> Count option when using the --scan, --bigkeys, --memkeys,\n"
" --keystats or --hotkeys (default: 10).\n"
" --quoted-pattern <pat> Same as --pattern, but the specified string can be\n"
" quoted, in order to pass an otherwise non binary-safe string.\n"
" --intrinsic-latency <sec> Run a test to measure intrinsic system latency.\n"