Browse Source

Update a few places that still mention zcash-cli with hush-cli

pull/32/head
Jonathan "Duke" Leto 7 years ago
parent
commit
6115a03214
  1. 6
      src/bitcoin-cli.cpp
  2. 2
      src/rpcserver.cpp

6
src/bitcoin-cli.cpp

@ -72,9 +72,9 @@ static bool AppInitRPC(int argc, char* argv[])
std::string strUsage = _("Zcash RPC client version") + " " + FormatFullVersion() + "\n" + PrivacyInfo();
if (!mapArgs.count("-version")) {
strUsage += "\n" + _("Usage:") + "\n" +
" zcash-cli [options] <command> [params] " + _("Send command to Zcash") + "\n" +
" zcash-cli [options] help " + _("List commands") + "\n" +
" zcash-cli [options] help <command> " + _("Get help for a command") + "\n";
" hush-cli [options] <command> [params] " + _("Send command to Zcash") + "\n" +
" hush-cli [options] help " + _("List commands") + "\n" +
" hush-cli [options] help <command> " + _("Get help for a command") + "\n";
strUsage += "\n" + HelpMessageCli();
} else {

2
src/rpcserver.cpp

@ -581,7 +581,7 @@ UniValue CRPCTable::execute(const std::string &strMethod, const UniValue &params
std::string HelpExampleCli(const std::string& methodname, const std::string& args)
{
return "> zcash-cli " + methodname + " " + args + "\n";
return "> hush-cli " + methodname + " " + args + "\n";
}
std::string HelpExampleRpc(const std::string& methodname, const std::string& args)

Loading…
Cancel
Save