Merge f842d0801e into merged_master (Bitcoin PR bitcoin/bitcoin#29686)

This commit is contained in:
ivanlele 2026-04-02 14:10:47 +00:00
commit e5db086bce
No known key found for this signature in database
6 changed files with 39 additions and 17 deletions

View file

@ -136,12 +136,18 @@ static bool ProcessInitCommands(ArgsManager& args)
{
// Process help and version before taking care about datadir
if (HelpRequested(args) || args.IsArgSet("-version")) {
std::string strUsage = CLIENT_NAME " version " + FormatFullVersion() + "\n";
std::string strUsage = CLIENT_NAME " daemon version " + FormatFullVersion() + "\n";
if (args.IsArgSet("-version")) {
strUsage += FormatParagraph(LicenseInfo());
} else {
strUsage += "\nUsage: elementsd [options] Start " CLIENT_NAME "\n"
strUsage += "\n"
"The " CLIENT_NAME " daemon (elementsd) is a headless program that connects to the Elements network to validate and relay transactions and blocks, as well as relaying addresses.\n\n"
"It provides the backbone of the Elements network and its RPC, REST and ZMQ services can provide various transaction, block and address-related services.\n\n"
"There is an optional wallet component which provides transaction services.\n\n"
"It can be used in a headless environment or as part of a server setup.\n"
"\n"
"Usage: elementsd [options]\n"
"\n";
strUsage += args.GetHelpMessage();
}