|
|
|
@ -43,12 +43,12 @@ static bool WalletAppInit(int argc, char* argv[])
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (argc < 2 || HelpRequested(gArgs)) {
|
|
|
|
|
std::string usage = strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
|
|
|
|
|
"bitcoin-wallet is an offline tool for creating and interacting with " PACKAGE_NAME " wallet files.\n" +
|
|
|
|
|
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n" +
|
|
|
|
|
std::string usage = strprintf("%s litecoin-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
|
|
|
|
|
"litecoin-wallet is an offline tool for creating and interacting with " PACKAGE_NAME " wallet files.\n" +
|
|
|
|
|
"By default litecoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n" +
|
|
|
|
|
"To change the target wallet, use the -datadir, -wallet and -testnet/-regtest arguments.\n\n" +
|
|
|
|
|
"Usage:\n" +
|
|
|
|
|
" bitcoin-wallet [options] <command>\n\n" +
|
|
|
|
|
" litecoin-wallet [options] <command>\n\n" +
|
|
|
|
|
gArgs.GetHelpMessage();
|
|
|
|
|
|
|
|
|
|
tfm::format(std::cout, "%s", usage);
|
|
|
|
@ -98,7 +98,7 @@ int main(int argc, char* argv[])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (method.empty()) {
|
|
|
|
|
tfm::format(std::cerr, "No method provided. Run `bitcoin-wallet -help` for valid methods.\n");
|
|
|
|
|
tfm::format(std::cerr, "No method provided. Run `litecoin-wallet -help` for valid methods.\n");
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|