aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/server.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-12-10 16:56:51 -0500
committerMarcoFalke <[email protected]>2019-02-11 08:40:10 -0500
commitfa0ad4e7ce8f4c19fe58bf06747bf8c62600581c (patch)
tree5c9ef121d5f875fc9a1cb4c6a648dea756e47810 /src/rpc/server.cpp
parentMerge #15380: trivial: correct parameter name in comments (diff)
downloaddiscoin-fa0ad4e7ce8f4c19fe58bf06747bf8c62600581c.tar.xz
discoin-fa0ad4e7ce8f4c19fe58bf06747bf8c62600581c.zip
RPCHelpMan: Check default values are given at compile-time
Diffstat (limited to 'src/rpc/server.cpp')
-rw-r--r--src/rpc/server.cpp2
1 files changed, 1 insertions, 1 deletions
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"