Changeset View
Changeset View
Standalone View
Standalone View
src/bitcoin-wallet.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | if (!gArgs.ParseParameters(argc, argv, error_message)) { | ||||
error_message); | error_message); | ||||
return false; | return false; | ||||
} | } | ||||
if (argc < 2 || HelpRequested(gArgs)) { | if (argc < 2 || HelpRequested(gArgs)) { | ||||
std::string usage = | std::string usage = | ||||
strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + | strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + | ||||
FormatFullVersion() + "\n\n" + | FormatFullVersion() + "\n\n" + | ||||
"bitcoin-wallet is an offline tool for creating and interacting " | "bitcoin-wallet is an offline tool for creating and interacting " | ||||
"with Bitcoin ABC wallet files.\n" + | "with " PACKAGE_NAME " wallet files.\n" + | ||||
"By default bitcoin-wallet will act on wallets in the default " | "By default bitcoin-wallet will act on wallets in the default " | ||||
"mainnet wallet directory in the datadir.\n" + | "mainnet wallet directory in the datadir.\n" + | ||||
"To change the target wallet, use the -datadir, -wallet and " | "To change the target wallet, use the -datadir, -wallet and " | ||||
"-testnet/-regtest arguments.\n\n" + | "-testnet/-regtest arguments.\n\n" + | ||||
"Usage:\n" + " bitcoin-wallet [options] <command>\n\n" + | "Usage:\n" + " bitcoin-wallet [options] <command>\n\n" + | ||||
gArgs.GetHelpMessage(); | gArgs.GetHelpMessage(); | ||||
tfm::format(std::cout, "%s", usage); | tfm::format(std::cout, "%s", usage); | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |