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

@ -152,10 +152,16 @@ static int AppInitRPC(int argc, char* argv[])
strUsage += FormatParagraph(LicenseInfo());
} else {
strUsage += "\n"
"Usage: elements-cli [options] <command> [params] Send command to " CLIENT_NAME "\n"
"or: elements-cli [options] -named <command> [name=value]... Send command to " CLIENT_NAME " (with named arguments)\n"
"or: elements-cli [options] help List commands\n"
"or: elements-cli [options] help <command> Get help for a command\n";
"The elements-cli utility provides a command line interface to interact with a " CLIENT_NAME " RPC server.\n"
"\nIt can be used to query network information, manage wallets, create or broadcast transactions, and control the " CLIENT_NAME " server.\n"
"\nUse the \"help\" command to list all commands. Use \"help <command>\" to show help for that command.\n"
"The -named option allows you to specify parameters using the key=value format, eliminating the need to pass unused positional parameters.\n"
"\n"
"Usage: elements-cli [options] <command> [params]\n"
"or: elements-cli [options] -named <command> [name=value]...\n"
"or: elements-cli [options] help\n"
"or: elements-cli [options] help <command>\n"
"\n";
strUsage += "\n" + gArgs.GetHelpMessage();
}