summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2020-07-20 21:53:03 -0400
committerGitHub <noreply@github.com>2020-07-20 18:53:03 -0700
commit2fbd0271f6fc0a93b9323b6478ec1a7a4ca77614 (patch)
tree66bbe721be58fa386aaebd895f87b1f49c7bd702
parent13e50935a84c319763a0d3b2be6ce64962092541 (diff)
downloadredis-2fbd0271f6fc0a93b9323b6478ec1a7a4ca77614.tar.gz
add missing caching command in client help (#7399)
-rw-r--r--src/networking.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/networking.c b/src/networking.c
index 589a459d4..e3b62f151 100644
--- a/src/networking.c
+++ b/src/networking.c
@@ -2147,6 +2147,7 @@ void clientCommand(client *c) {
"SETNAME <name> -- Assign the name <name> to the current connection.",
"UNBLOCK <clientid> [TIMEOUT|ERROR] -- Unblock the specified blocked client.",
"TRACKING (on|off) [REDIRECT <id>] [BCAST] [PREFIX first] [PREFIX second] [OPTIN] [OPTOUT]... -- Enable client keys tracking for client side caching.",
+"CACHING (yes|no) -- Enable/Disable tracking of the keys for next command in OPTIN/OPTOUT mode.",
"GETREDIR -- Return the client ID we are redirecting to when tracking is enabled.",
NULL
};