diff options
| author | Wladimir J. van der Laan <[email protected]> | 2013-10-11 23:09:59 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2013-10-21 09:22:48 +0200 |
| commit | 2a03a39020da5ae38f05c38a5bf92c023acdeb90 (patch) | |
| tree | 0428ba46a5f377dadddf0c570b908043f1fcbeb5 /src/bitcoind.cpp | |
| parent | Merge pull request #3104 from Diapolo/rpcssl-defaultciphers (diff) | |
| download | discoin-2a03a39020da5ae38f05c38a5bf92c023acdeb90.tar.xz discoin-2a03a39020da5ae38f05c38a5bf92c023acdeb90.zip | |
Add separate bitcoin-rpc client
This adds an executable `bitcoin-rpc` that only serves as a Bitcoin RPC
client.
The commit does not remove RPC functionality from the `bitcoind` yet,
this functionality should be deprecated but is left for a later version
to give users some time to switch.
Diffstat (limited to 'src/bitcoind.cpp')
| -rw-r--r-- | src/bitcoind.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 1b40a868a..fbacbd2e2 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -57,12 +57,13 @@ bool AppInit(int argc, char* argv[]) // First part of help message is specific to bitcoind / RPC client std::string strUsage = _("Bitcoin version") + " " + FormatFullVersion() + "\n\n" + _("Usage:") + "\n" + - " bitcoind [options] " + "\n" + - " bitcoind [options] <command> [params] " + _("Send command to -server or bitcoind") + "\n" + + " bitcoind [options] " + _("Start Bitcoin server") + "\n" + + _("Usage (deprecated, use bitcoin-cli):") + "\n" + + " bitcoind [options] <command> [params] " + _("Send command to Bitcoin server") + "\n" + " bitcoind [options] help " + _("List commands") + "\n" + " bitcoind [options] help <command> " + _("Get help for a command") + "\n"; - strUsage += "\n" + HelpMessage(); + strUsage += "\n" + HelpMessage(HMM_BITCOIND); fprintf(stdout, "%s", strUsage.c_str()); return false; |