From cddd69444f5016e5551393f922f4a0ef69873718 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Mon, 6 Apr 2015 00:59:25 +0300 Subject: [PATCH] small rpc description fixes --- src/rpcdarksend.cpp | 15 ++++++++++----- src/rpcmining.cpp | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/rpcdarksend.cpp b/src/rpcdarksend.cpp index 9327b0dd07..c72f68ceac 100644 --- a/src/rpcdarksend.cpp +++ b/src/rpcdarksend.cpp @@ -711,19 +711,24 @@ Value masternodelist(const Array& params, bool fHelp) "Get a list of masternodes in different modes\n" "\nArguments:\n" "1. \"mode\" (string, optional/required to use filter, defaults = status) The mode to run list in\n" - "2. \"filter\" (string, optional) Filter results. Partial match by IP by default in all modes, additional matches in some modes\n" + "2. \"filter\" (string, optional) Filter results. Partial match by IP by default in all modes,\n" + " additional matches in some modes are also available\n" "\nAvailable modes:\n" " activeseconds - Print number of seconds masternode recognized by the network as enabled\n" " donation - Show donation settings\n" - " full - Print info in format 'status protocol pubkey vin lastseen activeseconds' (can be additionally filtered, partial match)\n" + " full - Print info in format 'status protocol pubkey vin lastseen activeseconds'\n" + " (can be additionally filtered, partial match)\n" " lastseen - Print timestamp of when a masternode was last seen on the network\n" " pose - Print Proof-of-Service score\n" " protocol - Print protocol of a masternode (can be additionally filtered, exact match))\n" - " pubkey - Print public key associated with a masternode (can be additionally filtered, partial match)\n" + " pubkey - Print public key associated with a masternode (can be additionally filtered,\n" + " partial match)\n" " rank - Print rank of a masternode based on current block\n" - " status - Print masternode status: ENABLED / EXPIRED / VIN_SPENT / REMOVE / POS_ERROR (can be additionally filtered, partial match)\n" + " status - Print masternode status: ENABLED / EXPIRED / VIN_SPENT / REMOVE / POS_ERROR\n" + " (can be additionally filtered, partial match)\n" " vin - Print vin associated with a masternode (can be additionally filtered, partial match)\n" - " votes - Print all masternode votes for a Dash initiative (can be additionally filtered, partial match)\n" + " votes - Print all masternode votes for a Dash initiative (can be additionally filtered,\n" + " partial match)\n" ); } diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 3ac8be720d..110db85c4e 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -123,7 +123,7 @@ Value setgenerate(const Array& params, bool fHelp) "Generation is limited to 'genproclimit' processors, -1 is unlimited.\n" "See the getgenerate call for the current setting.\n" "\nArguments:\n" - "1. generate (boolean, required) Set to true to turn on generation, off to turn off.\n" + "1. generate (boolean, required) Set to true to turn on generation, false to turn off.\n" "2. genproclimit (numeric, optional) Set the processor limit for when generation is on. Can be -1 for unlimited.\n" " Note: in -regtest mode, genproclimit controls how many blocks are generated immediately.\n" "\nResult\n"