Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ca58198a
Commit
ca58198a
authored
Jun 12, 2020
by
antirez
Browse files
help.h updated.
parent
0091125c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/help.h
View file @
ca58198a
...
@@ -43,6 +43,16 @@ struct commandHelp {
...
@@ -43,6 +43,16 @@ struct commandHelp {
"Generate a pseudorandom secure password to use for ACL users"
,
"Generate a pseudorandom secure password to use for ACL users"
,
9
,
9
,
"6.0.0"
},
"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"
,
{
"ACL LIST"
,
"-"
,
"-"
,
"List the current ACL rules in ACL config file format"
,
"List the current ACL rules in ACL config file format"
,
...
@@ -64,7 +74,7 @@ struct commandHelp {
...
@@ -64,7 +74,7 @@ struct commandHelp {
9
,
9
,
"6.0.0"
},
"6.0.0"
},
{
"ACL SETUSER"
,
{
"ACL SETUSER"
,
"rule [rule ...]"
,
"
username [
rule [rule ...]
]
"
,
"Modify or create the rules for a specific ACL user"
,
"Modify or create the rules for a specific ACL user"
,
9
,
9
,
"6.0.0"
},
"6.0.0"
},
...
@@ -164,7 +174,7 @@ struct commandHelp {
...
@@ -164,7 +174,7 @@ struct commandHelp {
8
,
8
,
"5.0.0"
},
"5.0.0"
},
{
"CLIENT KILL"
,
{
"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"
,
"Kill the connection of a client"
,
8
,
8
,
"2.4.0"
},
"2.4.0"
},
...
@@ -182,14 +192,14 @@ struct commandHelp {
...
@@ -182,14 +192,14 @@ struct commandHelp {
"ON|OFF|SKIP"
,
"ON|OFF|SKIP"
,
"Instruct the server whether to reply to commands"
,
"Instruct the server whether to reply to commands"
,
8
,
8
,
"3.2"
},
"3.2
.0
"
},
{
"CLIENT SETNAME"
,
{
"CLIENT SETNAME"
,
"connection-name"
,
"connection-name"
,
"Set the current connection name"
,
"Set the current connection name"
,
8
,
8
,
"2.6.9"
},
"2.6.9"
},
{
"CLIENT TRACKING"
,
{
"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"
,
"Enable or disable server assisted client side caching support"
,
8
,
8
,
"6.0.0"
},
"6.0.0"
},
...
@@ -619,7 +629,7 @@ struct commandHelp {
...
@@ -619,7 +629,7 @@ struct commandHelp {
9
,
9
,
"2.8.13"
},
"2.8.13"
},
{
"LATENCY RESET"
,
{
"LATENCY RESET"
,
"[event]"
,
"[event
[event ...]
]"
,
"Reset latency data for one or more events."
,
"Reset latency data for one or more events."
,
9
,
9
,
"2.8.13"
},
"2.8.13"
},
...
@@ -648,6 +658,11 @@ struct commandHelp {
...
@@ -648,6 +658,11 @@ struct commandHelp {
"Remove and get the first element in a list"
,
"Remove and get the first element in a list"
,
2
,
2
,
"1.0.0"
},
"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"
,
{
"LPUSH"
,
"key element [element ...]"
,
"key element [element ...]"
,
"Prepend one or multiple elements to a list"
,
"Prepend one or multiple elements to a list"
,
...
@@ -668,11 +683,6 @@ struct commandHelp {
...
@@ -668,11 +683,6 @@ struct commandHelp {
"Remove elements from a list"
,
"Remove elements from a list"
,
2
,
2
,
"1.0.0"
},
"1.0.0"
},
{
"LRANK"
,
"key direction element"
,
"Return first index of element in list based on direction"
,
2
,
"9.9.9"
},
{
"LSET"
,
{
"LSET"
,
"key index element"
,
"key index element"
,
"Set the value of an element in a list by its index"
,
"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