From 3f9a5168323070a18b6c8b7bffeafe1d2965f50b Mon Sep 17 00:00:00 2001 From: willcl-ark Date: Wed, 20 Mar 2024 22:23:15 +0000 Subject: [PATCH] doc: add bitcoin-wallet man description --- src/bitcoin-wallet.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/bitcoin-wallet.cpp b/src/bitcoin-wallet.cpp index c469fbda76b..de6e6544edf 100644 --- a/src/bitcoin-wallet.cpp +++ b/src/bitcoin-wallet.cpp @@ -61,17 +61,18 @@ static std::optional 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] \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] \n" + "\n"; strUsage += "\n" + args.GetHelpMessage(); } tfm::format(std::cout, "%s", strUsage);