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:
thephez 2019-05-30 04:01:16 -04:00 committed by UdjinM6
parent 09d66c7764
commit 809aae73a1
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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"