Skip to content

Commit

Permalink
Renamed string
Browse files Browse the repository at this point in the history
  • Loading branch information
develnk committed Jun 22, 2018
1 parent 35c329f commit fbeecc0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,6 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-man

clean-local:
rm -rf test_bitcoin.coverage/ zcash-gtest.coverage/ total.coverage/

clean:
rm -rf *.o
10 changes: 5 additions & 5 deletions src/bitcoin-cli-res.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ BEGIN
BEGIN
BLOCK "040904E4" // U.S. English - multilingual (hex)
BEGIN
VALUE "CompanyName", "Zcash"
VALUE "FileDescription", "zcash-cli (JSON-RPC client for Zcash)"
VALUE "CompanyName", "Asofe"
VALUE "FileDescription", "asofe-cli (JSON-RPC client for Zcash)"
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", "zcash-cli"
VALUE "InternalName", "asofe-cli"
VALUE "LegalCopyright", COPYRIGHT_STR
VALUE "LegalTrademarks1", "Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
VALUE "OriginalFilename", "zcash-cli.exe"
VALUE "ProductName", "zcash-cli"
VALUE "OriginalFilename", "asofe-cli.exe"
VALUE "ProductName", "asofe-cli"
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
Expand Down
16 changes: 10 additions & 6 deletions src/bitcoin-cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,24 @@ static bool AppInitRPC(int argc, char* argv[])
//
ParseParameters(argc, argv);
if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
std::string strUsage = _("Zcash RPC client version") + " " + FormatFullVersion() + "\n" + PrivacyInfo();
std::string strUsage = _("Asofe 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";
" asofe-cli [options] <command> [params] " + _("Send command to Asofe") + "\n" +
" asofe-cli [options] help " + _("List commands") + "\n" +
" asofe-cli [options] help <command> " + _("Get help for a command") + "\n";

strUsage += "\n" + HelpMessageCli();
} else {
strUsage += LicenseInfo();
}

fprintf(stdout, "%s", strUsage.c_str());
return false;
fprintf(stdout, "%s", strUsage.c_str());
if (argc < 2) {
fprintf(stderr, "Error: too few parameters\n");
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
if (!boost::filesystem::is_directory(GetDataDir(false))) {
fprintf(stderr, "Error: Specified data directory \"%s\" does not exist.\n", mapArgs["-datadir"].c_str());
Expand Down

0 comments on commit fbeecc0

Please sign in to comment.