diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-12-05 17:07:30 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-12-07 11:53:29 -0500 |
commit | fa0c24c96e9937f666dcdd83d12145720c7b0329 (patch) | |
tree | bf5ce662ac1b0b3f83caed46d5d05a755e03dddd /src/rpc/server.cpp | |
parent | e2c473ff75f9ec272ab23e0ee30728b72aecd8f2 (diff) |
rpc: Document default values for optional arguments
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r-- | src/rpc/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 97745c62d6..e25cae775b 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -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" |