mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge 3c565302aa into merged_master (Bitcoin PR bitcoin/bitcoin#24409)
This commit is contained in:
commit
51fbed170b
13 changed files with 68 additions and 55 deletions
|
|
@ -133,7 +133,10 @@ static int AppInitRPC(int argc, char* argv[])
|
|||
}
|
||||
if (argc < 2 || HelpRequested(gArgs) || gArgs.IsArgSet("-version")) {
|
||||
std::string strUsage = PACKAGE_NAME " RPC client version " + FormatFullVersion() + "\n";
|
||||
if (!gArgs.IsArgSet("-version")) {
|
||||
|
||||
if (gArgs.IsArgSet("-version")) {
|
||||
strUsage += FormatParagraph(LicenseInfo());
|
||||
} else {
|
||||
strUsage += "\n"
|
||||
"Usage: elements-cli [options] <command> [params] Send command to " PACKAGE_NAME "\n"
|
||||
"or: elements-cli [options] -named <command> [name=value]... Send command to " PACKAGE_NAME " (with named arguments)\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue