mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
RPCHelpMan: Check default values are given at compile-time
This commit is contained in:
parent
ff9e197212
commit
fa0ad4e7ce
10 changed files with 388 additions and 363 deletions
|
|
@ -230,7 +230,7 @@ UniValue help(const JSONRPCRequest& jsonRequest)
|
|||
RPCHelpMan{"help",
|
||||
"\nList all commands, or get help for a specified command.\n",
|
||||
{
|
||||
{"command", RPCArg::Type::STR, /* opt */ true, /* default_val */ "all commands", "The command to get help on"},
|
||||
{"command", RPCArg::Type::STR, /* default */ "all commands", "The command to get help on"},
|
||||
},
|
||||
RPCResult{
|
||||
"\"text\" (string) The help text\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue