add missing caching command in client help (#7399)

This commit is contained in:
Wen Hui 2020-07-20 21:53:03 -04:00 committed by GitHub
parent 13e50935a8
commit 2fbd0271f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
};