diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-04-17 22:10:46 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-04-17 22:11:03 +0200 |
commit | 50a1cc0f0aef1514b917a5a3f4476967170b429d (patch) | |
tree | dc2ad5383786887215491b8996c3f6edb11fb42c | |
parent | 6ce733747e160ca699711f2c47e686284ca9aa07 (diff) | |
parent | c9e31c36ffacedb85d4d9ce75a92e011a3e7d4b4 (diff) | |
download | bitcoin-50a1cc0f0aef1514b917a5a3f4476967170b429d.tar.xz |
Merge #10207: Clarify importprivkey help text ... example of blank label without rescan
c9e31c3 Clarify importprivkey help text with example of blank label without rescan Occasionally I waste a lot of time not remembering that the second parameter to importprivkey must be blank if you intend to stop rescan with "false" as the third parameter. (Warren Togami)
Tree-SHA512: 23781e1d6fd59a9d06d6e12ad10e8ed6641947b3e4a1f66c8fdb5d44cbd8f291e8f2a5e686aa9f9ba5e4bab8ca688caa17244e837f651546055ddf7cc8e7df8f
-rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 7ff9e7ae58..231d68f222 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -95,6 +95,8 @@ UniValue importprivkey(const JSONRPCRequest& request) + HelpExampleCli("importprivkey", "\"mykey\"") + "\nImport using a label and without rescan\n" + HelpExampleCli("importprivkey", "\"mykey\" \"testing\" false") + + "\nImport using default blank label and without rescan\n" + + HelpExampleCli("importprivkey", "\"mykey\" \"\" false") + "\nAs a JSON-RPC call\n" + HelpExampleRpc("importprivkey", "\"mykey\", \"testing\", false") ); |