mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge #14877: rpc: Document default values for optional arguments
fa0c24c96e rpc: Document default values for optional arguments (MarcoFalke)
Pull request description:
Tree-SHA512: e1f5ea67d7ac67526ae87bffaeb308a9ad68632e161fe0148cd431a340bb7a30def18f1dbc7e98c6c1c269ac8942fd5d5334c85c48e4fb1cead70a42536b6eef
This commit is contained in:
commit
5f23460c7e
9 changed files with 76 additions and 80 deletions
|
|
@ -203,7 +203,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 */ "", "The command to get help on"},
|
||||
{"command", RPCArg::Type::STR, /* opt */ true, /* default_val */ "all commands", "The command to get help on"},
|
||||
}}
|
||||
.ToString() +
|
||||
"\nResult:\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue