mirror of https://mirror.osredm.com/root/redis.git
update function help message, changed DESC->DESCRIPTION. (#10228)
update function help message, changed DESC->DESCRIPTION (doc was outdated)
This commit is contained in:
parent
edc050cc57
commit
8eb19cc251
|
@ -3404,7 +3404,7 @@ struct redisCommandArg FUNCTION_LOAD_Args[] = {
|
||||||
{"engine-name",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
{"engine-name",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
||||||
{"library-name",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
{"library-name",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
||||||
{"replace",ARG_TYPE_PURE_TOKEN,-1,"REPLACE",NULL,NULL,CMD_ARG_OPTIONAL},
|
{"replace",ARG_TYPE_PURE_TOKEN,-1,"REPLACE",NULL,NULL,CMD_ARG_OPTIONAL},
|
||||||
{"library-description",ARG_TYPE_STRING,-1,"DESC",NULL,NULL,CMD_ARG_OPTIONAL},
|
{"library-description",ARG_TYPE_STRING,-1,"DESCRIPTION",NULL,NULL,CMD_ARG_OPTIONAL},
|
||||||
{"function-code",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
{"function-code",ARG_TYPE_STRING,-1,NULL,NULL,NULL,CMD_ARG_NONE},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
{
|
{
|
||||||
"name": "library-description",
|
"name": "library-description",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"token": "DESC",
|
"token": "DESCRIPTION",
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -808,7 +808,7 @@ void functionFlushCommand(client *c) {
|
||||||
|
|
||||||
void functionHelpCommand(client *c) {
|
void functionHelpCommand(client *c) {
|
||||||
const char *help[] = {
|
const char *help[] = {
|
||||||
"LOAD <ENGINE NAME> <LIBRARY NAME> [REPLACE] [DESC <LIBRARY DESCRIPTION>] <LIBRARY CODE>",
|
"LOAD <ENGINE NAME> <LIBRARY NAME> [REPLACE] [DESCRIPTION <LIBRARY DESCRIPTION>] <LIBRARY CODE>",
|
||||||
" Create a new library with the given library name and code.",
|
" Create a new library with the given library name and code.",
|
||||||
"DELETE <LIBRARY NAME>",
|
"DELETE <LIBRARY NAME>",
|
||||||
" Delete the given library.",
|
" Delete the given library.",
|
||||||
|
|
Loading…
Reference in New Issue