diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-02-03 07:23:20 +0100 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-03-25 13:09:20 +0100 |
commit | 7398f4a796522f896ccc65b2e9adb109e9346020 (patch) | |
tree | 3675b880b38bafa6355b977dae25ce829ec44ede /src/rpcclient.cpp | |
parent | e3f5d4338d0305a398817279e36ef2d0cfd2fd2b (diff) |
improve command-line options output
Diffstat (limited to 'src/rpcclient.cpp')
-rw-r--r-- | src/rpcclient.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index efb1fa1183..8620a87297 100644 --- a/src/rpcclient.cpp +++ b/src/rpcclient.cpp @@ -265,11 +265,12 @@ std::string HelpMessageCli(bool mainProgram) strUsage += " -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n"; strUsage += " -rpcport=<port> " + _("Connect to JSON-RPC on <port> (default: 8332 or testnet: 18332)") + "\n"; strUsage += " -rpcwait " + _("Wait for RPC server to start") + "\n"; - strUsage += " -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n"; - strUsage += " -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n"; if(mainProgram) { + strUsage += " -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n"; + strUsage += " -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n"; + strUsage += "\n" + _("SSL options: (see the Bitcoin Wiki for SSL setup instructions)") + "\n"; strUsage += " -rpcssl " + _("Use OpenSSL (https) for JSON-RPC connections") + "\n"; } |