mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +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
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue