summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbodong.ybd <bodong.ybd@alibaba-inc.com>2023-04-04 20:56:33 +0800
committerGitHub <noreply@github.com>2023-04-04 15:56:33 +0300
commitccc86a91b7bb4ef84898dadfc9741ecb3aa8eadb (patch)
treedc02d94dd329afd02a5b7119cecd542d861eed86 /src
parent219e85ff3e7b3dbc9c77cb2eaff64772680a3129 (diff)
downloadredis-ccc86a91b7bb4ef84898dadfc9741ecb3aa8eadb.tar.gz
Add help message for client setinfo (#11995)
The new sub-command was missing from CLIENT HELP Co-authored-by: Binbin <binloveplay1314@qq.com>
Diffstat (limited to 'src')
-rw-r--r--src/networking.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/networking.c b/src/networking.c
index d8ef434a2..4dcdf6bc9 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -3001,6 +3001,10 @@ void clientCommand(client *c) {
" Control the replies sent to the current connection.",
"SETNAME <name>",
" Assign the name <name> to the current connection.",
+"SETINFO <option> <value>",
+" Set client meta attr. Options are:",
+" * LIB-NAME: the client lib name.",
+" * LIB-VER: the client lib version.",
"UNBLOCK <clientid> [TIMEOUT|ERROR]",
" Unblock the specified blocked client.",
"TRACKING (ON|OFF) [REDIRECT <id>] [BCAST] [PREFIX <prefix> [...]]",