Skip to content

Commit 3f9a516

Browse files
committed
doc: add bitcoin-wallet man description
1 parent d8c0bb2 commit 3f9a516

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/bitcoin-wallet.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,18 @@ static std::optional<int> WalletAppInit(ArgsManager& args, int argc, char* argv[
6161
}
6262
const bool missing_args{argc < 2};
6363
if (missing_args || HelpRequested(args) || args.IsArgSet("-version")) {
64-
std::string strUsage = strprintf("%s bitcoin-wallet version", CLIENT_NAME) + " " + FormatFullVersion() + "\n";
64+
std::string strUsage = strprintf("%s bitcoin-wallet utility version", CLIENT_NAME) + " " + FormatFullVersion() + "\n";
6565

6666
if (args.IsArgSet("-version")) {
6767
strUsage += FormatParagraph(LicenseInfo());
6868
} else {
6969
strUsage += "\n"
70-
"bitcoin-wallet is an offline tool for creating and interacting with " CLIENT_NAME " wallet files.\n"
71-
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n"
72-
"To change the target wallet, use the -datadir, -wallet and -regtest/-signet/-testnet/-testnet4 arguments.\n\n"
73-
"Usage:\n"
74-
" bitcoin-wallet [options] <command>\n";
70+
"bitcoin-wallet is an offline tool for creating and interacting with " CLIENT_NAME " wallet files.\n\n"
71+
"By default bitcoin-wallet will act on wallets in the default mainnet wallet directory in the datadir.\n\n"
72+
"To change the target wallet, use the -datadir, -wallet and -regtest / -signet / -testnet arguments.\n"
73+
"\n"
74+
"Usage: bitcoin-wallet [options] <command>\n"
75+
"\n";
7576
strUsage += "\n" + args.GetHelpMessage();
7677
}
7778
tfm::format(std::cout, "%s", strUsage);

0 commit comments

Comments
 (0)