From fa0ad4e7ce8f4c19fe58bf06747bf8c62600581c Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 10 Dec 2018 16:56:51 -0500 Subject: RPCHelpMan: Check default values are given at compile-time --- 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 2ed74547b..cd90573da 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -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" -- cgit v1.2.3