diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2021-02-26 15:03:50 +0100 |
---|---|---|
committer | Ivan Metlushko <metlushko@gmail.com> | 2021-03-03 09:40:06 +0100 |
commit | 591735ef0bf13b94643b794518406f981fa5dcb7 (patch) | |
tree | 1e846cc4c1af06829d68ad35b2c73f406d33a1e3 /src/rpc/util.h | |
parent | 5d5a90e819d23a302f9bec6b995a3116ead6ae94 (diff) |
rpc: Add HelpExampleCliNamed and use it for `createwallet` doc
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r-- | src/rpc/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h index 184dfc2940..c87c3db6f0 100644 --- a/src/rpc/util.h +++ b/src/rpc/util.h @@ -81,6 +81,7 @@ extern CAmount AmountFromValue(const UniValue& value); using RPCArgList = std::vector<std::pair<std::string, UniValue>>; extern std::string HelpExampleCli(const std::string& methodname, const std::string& args); +extern std::string HelpExampleCliNamed(const std::string& methodname, const RPCArgList& args); extern std::string HelpExampleRpc(const std::string& methodname, const std::string& args); extern std::string HelpExampleRpcNamed(const std::string& methodname, const RPCArgList& args); |