mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 11f68cc810 into merged_master (Bitcoin PR bitcoin/bitcoin#31212)
This commit is contained in:
commit
5eec58e762
16 changed files with 210 additions and 75 deletions
|
|
@ -135,10 +135,10 @@ static bool ParseArgs(NodeContext& node, int argc, char* argv[])
|
|||
static bool ProcessInitCommands(ArgsManager& args)
|
||||
{
|
||||
// Process help and version before taking care about datadir
|
||||
if (HelpRequested(args) || args.IsArgSet("-version")) {
|
||||
if (HelpRequested(args) || args.GetBoolArg("-version", false)) {
|
||||
std::string strUsage = CLIENT_NAME " daemon version " + FormatFullVersion() + "\n";
|
||||
|
||||
if (args.IsArgSet("-version")) {
|
||||
if (args.GetBoolArg("-version", false)) {
|
||||
strUsage += FormatParagraph(LicenseInfo());
|
||||
} else {
|
||||
strUsage += "\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue