mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge f842d0801e into merged_master (Bitcoin PR bitcoin/bitcoin#29686)
This commit is contained in:
commit
e5db086bce
6 changed files with 39 additions and 17 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue