mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
rpc: Keep default argument value in correct type
This commit is contained in:
parent
a12962ca89
commit
f81ef4303e
10 changed files with 187 additions and 183 deletions
|
|
@ -135,7 +135,7 @@ static RPCHelpMan help()
|
|||
return RPCHelpMan{"help",
|
||||
"\nList all commands, or get help for a specified command.\n",
|
||||
{
|
||||
{"command", RPCArg::Type::STR, /* default */ "all commands", "The command to get help on"},
|
||||
{"command", RPCArg::Type::STR, RPCArg::DefaultHint{"all commands"}, "The command to get help on"},
|
||||
},
|
||||
{
|
||||
RPCResult{RPCResult::Type::STR, "", "The help text"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue