Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0cae0900
Commit
0cae0900
authored
Jun 12, 2020
by
antirez
Browse files
help.h updated.
parent
e0022d8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/help.h
View file @
0cae0900
...
...
@@ -43,6 +43,16 @@ struct commandHelp {
"Generate a pseudorandom secure password to use for ACL users"
,
9
,
"6.0.0"
},
{
"ACL GETUSER"
,
"username"
,
"Get the rules for a specific ACL user"
,
9
,
"6.0.0"
},
{
"ACL HELP"
,
"-"
,
"Show helpful text about the different subcommands"
,
9
,
"6.0.0"
},
{
"ACL LIST"
,
"-"
,
"List the current ACL rules in ACL config file format"
,
...
...
@@ -64,7 +74,7 @@ struct commandHelp {
9
,
"6.0.0"
},
{
"ACL SETUSER"
,
"rule [rule ...]"
,
"
username [
rule [rule ...]
]
"
,
"Modify or create the rules for a specific ACL user"
,
9
,
"6.0.0"
},
...
...
@@ -164,7 +174,7 @@ struct commandHelp {
8
,
"5.0.0"
},
{
"CLIENT KILL"
,
"[ip:port] [ID client-id] [TYPE normal|master|slave|pubsub] [ADDR ip:port] [SKIPME yes/no]"
,
"[ip:port] [ID client-id] [TYPE normal|master|slave|pubsub]
[USER username]
[ADDR ip:port] [SKIPME yes/no]"
,
"Kill the connection of a client"
,
8
,
"2.4.0"
},
...
...
@@ -182,14 +192,14 @@ struct commandHelp {
"ON|OFF|SKIP"
,
"Instruct the server whether to reply to commands"
,
8
,
"3.2"
},
"3.2
.0
"
},
{
"CLIENT SETNAME"
,
"connection-name"
,
"Set the current connection name"
,
8
,
"2.6.9"
},
{
"CLIENT TRACKING"
,
"ON|OFF [REDIRECT client-id] [PREFIX prefix] [BCAST] [OPTIN] [OPTOUT] [NOLOOP]"
,
"ON|OFF [REDIRECT client-id] [PREFIX prefix
[PREFIX prefix ...]
] [BCAST] [OPTIN] [OPTOUT] [NOLOOP]"
,
"Enable or disable server assisted client side caching support"
,
8
,
"6.0.0"
},
...
...
@@ -619,7 +629,7 @@ struct commandHelp {
9
,
"2.8.13"
},
{
"LATENCY RESET"
,
"[event]"
,
"[event
[event ...]
]"
,
"Reset latency data for one or more events."
,
9
,
"2.8.13"
},
...
...
@@ -648,6 +658,11 @@ struct commandHelp {
"Remove and get the first element in a list"
,
2
,
"1.0.0"
},
{
"LPOS"
,
"key element [FIRST rank] [COUNT num-matches] [MAXLEN len]"
,
"Return the index of matching elements on a list"
,
2
,
"6.0.6"
},
{
"LPUSH"
,
"key element [element ...]"
,
"Prepend one or multiple elements to a list"
,
...
...
@@ -668,11 +683,6 @@ struct commandHelp {
"Remove elements from a list"
,
2
,
"1.0.0"
},
{
"LRANK"
,
"key direction element"
,
"Return first index of element in list based on direction"
,
2
,
"9.9.9"
},
{
"LSET"
,
"key index element"
,
"Set the value of an element in a list by its index"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment