diff options
| author | Benedict Chan <[email protected]> | 2014-09-07 12:37:13 +0000 |
|---|---|---|
| committer | Benedict Chan <[email protected]> | 2014-09-16 11:12:01 +0000 |
| commit | 57e1716de6a6deba23ad8c4152cc0a32a4974c41 (patch) | |
| tree | f78423db538af05b50c350209935a2ad0881954f /src/rpcwallet.cpp | |
| parent | Merge pull request #4719 (diff) | |
| download | discoin-57e1716de6a6deba23ad8c4152cc0a32a4974c41.tar.xz discoin-57e1716de6a6deba23ad8c4152cc0a32a4974c41.zip | |
update rpc help message for gettransaction to add includeWatchonly param
Diffstat (limited to 'src/rpcwallet.cpp')
| -rw-r--r-- | src/rpcwallet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 997b861e5..9e345d74f 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1490,7 +1490,7 @@ Value gettransaction(const Array& params, bool fHelp) { if (fHelp || params.size() < 1 || params.size() > 2) throw runtime_error( - "gettransaction \"txid\"\n" + "gettransaction \"txid\" ( includeWatchonly )\n" "\nGet detailed information about in-wallet transaction <txid>\n" "\nArguments:\n" "1. \"txid\" (string, required) The transaction id\n" @@ -1520,6 +1520,7 @@ Value gettransaction(const Array& params, bool fHelp) "\nExamples:\n" + HelpExampleCli("gettransaction", "\"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"") + + HelpExampleCli("gettransaction", "\"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\" true") + HelpExampleRpc("gettransaction", "\"1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d\"") ); |