Redis in HELP commands (#216)

Removes the word Redis in the output of COMMAND HELP and DEBUG HELP.

---------

Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
This commit is contained in:
Viktor Söderqvist 2024-04-04 23:18:37 +02:00 committed by GitHub
parent 29621bc356
commit 4646d0825e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 12 deletions

View File

@ -410,14 +410,14 @@ void debugCommand(client *c) {
"DIGEST-VALUE <key> [<key> ...]",
" Output a hex signature of the values of all the specified keys.",
"ERROR <string>",
" Return a Redis protocol error with <string> as message. Useful for clients",
" unit tests to simulate Redis errors.",
" Return a RESP protocol error with <string> as message. Useful for clients",
" unit tests to simulate error replies.",
"LEAK <string>",
" Create a memory leak of the input string.",
"LOG <message>",
" Write <message> to the server log.",
"HTSTATS <dbid> [full]",
" Return hash table statistics of the specified Redis database.",
" Return hash table statistics of the specified database.",
"HTSTATS-KEY <key> [full]",
" Like HTSTATS but for the hash table stored at <key>'s value.",
"LOADAOF",
@ -468,7 +468,7 @@ void debugCommand(client *c) {
" Crash the server with sigsegv.",
"SET-ACTIVE-EXPIRE <0|1>",
" Setting it to 0 disables expiring keys in background when they are not",
" accessed (otherwise the Redis behavior). Setting it to 1 reenables back the",
" accessed (otherwise the behavior). Setting it to 1 reenables back the",
" default.",
"QUICKLIST-PACKED-THRESHOLD <size>",
" Sets the threshold for elements to be inserted as plain vs packed nodes",
@ -480,7 +480,7 @@ void debugCommand(client *c) {
"STRINGMATCH-TEST",
" Run a fuzz tester against the stringmatchlen() function.",
"STRUCTSIZE",
" Return the size of different Redis core C structures.",
" Return the size of different core C structures.",
"LISTPACK <key>",
" Show low level info about the listpack encoding of <key>.",
"QUICKLIST <key> [<0|1>]",

View File

@ -5303,23 +5303,23 @@ void commandGetKeysCommand(client *c) {
void commandHelpCommand(client *c) {
const char *help[] = {
"(no subcommand)",
" Return details about all Redis commands.",
" Return details about all commands.",
"COUNT",
" Return the total number of commands in this Redis server.",
" Return the total number of commands in this server.",
"LIST",
" Return a list of all commands in this Redis server.",
" Return a list of all commands in this server.",
"INFO [<command-name> ...]",
" Return details about multiple Redis commands.",
" Return details about multiple commands.",
" If no command names are given, documentation details for all",
" commands are returned.",
"DOCS [<command-name> ...]",
" Return documentation details about multiple Redis commands.",
" Return documentation details about multiple commands.",
" If no command names are given, documentation details for all",
" commands are returned.",
"GETKEYS <full-command>",
" Return the keys from a full Redis command.",
" Return the keys from a full command.",
"GETKEYSANDFLAGS <full-command>",
" Return the keys and the access flags from a full Redis command.",
" Return the keys and the access flags from a full command.",
NULL
};