RPC docs helper updates (#2949)
* RPC - Update gobject description to match other multi-command RPCs * RPC - Update masternodelist to avoid returning dupe RPC name from help * RPC - Make spacing consistent in gobject/masternode help
This commit is contained in:
parent
09d66c7764
commit
809aae73a1
@ -872,7 +872,7 @@ UniValue gobject_getcurrentvotes(const JSONRPCRequest& request)
|
||||
{
|
||||
throw std::runtime_error(
|
||||
"gobject \"command\" ...\n"
|
||||
"Manage governance objects\n"
|
||||
"Set of commands to manage governance objects.\n"
|
||||
"\nAvailable commands:\n"
|
||||
" check - Validate governance object data (proposal only)\n"
|
||||
#ifdef ENABLE_WALLET
|
||||
|
@ -126,7 +126,7 @@ void masternode_list_help()
|
||||
{
|
||||
throw std::runtime_error(
|
||||
"masternodelist ( \"mode\" \"filter\" )\n"
|
||||
"Get a list of masternodes in different modes. This call is identical to masternodelist call.\n"
|
||||
"Get a list of masternodes in different modes. This call is identical to 'masternode list' call.\n"
|
||||
"\nArguments:\n"
|
||||
"1. \"mode\" (string, optional/required to use filter, defaults = json) The mode to run list in\n"
|
||||
"2. \"filter\" (string, optional) Filter results. Partial match by outpoint by default in all modes,\n"
|
||||
|
Loading…
Reference in New Issue
Block a user