mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 01:42:58 +01:00
doc: add bitcoin-wallet man description
This commit is contained in:
parent
d8c0bb23ef
commit
3f9a516832
@ -61,17 +61,18 @@ static std::optional<int> WalletAppInit(ArgsManager& args, int argc, char* argv[
|
||||
}
|
||||
const bool missing_args{argc < 2};
|
||||
if (missing_args || HelpRequested(args) || args.IsArgSet("-version")) {
|
||||
std::string strUsage = strprintf("%s bitcoin-wallet version", CLIENT_NAME) + " " + FormatFullVersion() + "\n";
|
||||
std::string strUsage = strprintf("%s bitcoin-wallet utility version", CLIENT_NAME) + " " + FormatFullVersion() + "\n";
|
||||
|
||||
if (args.IsArgSet("-version")) {
|
||||
strUsage += FormatParagraph(LicenseInfo());
|
||||
} else {
|
||||
strUsage += "\n"
|
||||
"bitcoin-wallet is an offline tool for creating and interacting with " CLIENT_NAME " wallet files.\n"
|
||||
"By default bitcoin-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 -regtest/-signet/-testnet/-testnet4 arguments.\n\n"
|
||||
"Usage:\n"
|
||||
" bitcoin-wallet [options] <command>\n";
|
||||
"bitcoin-wallet is an offline tool for creating and interacting with " CLIENT_NAME " wallet files.\n\n"
|
||||
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n\n"
|
||||
"To change the target wallet, use the -datadir, -wallet and -regtest / -signet / -testnet arguments.\n"
|
||||
"\n"
|
||||
"Usage: bitcoin-wallet [options] <command>\n"
|
||||
"\n";
|
||||
strUsage += "\n" + args.GetHelpMessage();
|
||||
}
|
||||
tfm::format(std::cout, "%s", strUsage);
|
||||
|
Loading…
Reference in New Issue
Block a user