From fa0c24c96e9937f666dcdd83d12145720c7b0329 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 5 Dec 2018 17:07:30 -0500 Subject: rpc: Document default values for optional arguments --- src/rpc/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc/server.cpp') 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" -- cgit v1.2.3