aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-11 23:09:59 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-21 09:22:48 +0200
commit2a03a39020da5ae38f05c38a5bf92c023acdeb90 (patch)
tree0428ba46a5f377dadddf0c570b908043f1fcbeb5 /src/bitcoind.cpp
parentcc7562b7d2dc4eae6e3ab930a2a37cd3c00aac5d (diff)
downloadbitcoin-2a03a39020da5ae38f05c38a5bf92c023acdeb90.tar.xz
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.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 1b40a868a1..fbacbd2e24 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;