mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Change default help arg to -help and mention -h and -? as alternatives
% build/src/bench/bench_bitcoin -h
[...]
-help
Print this help message and exit (also -h or -?)
This commit is contained in:
parent
f0130ab1a1
commit
33a28e252a
2 changed files with 3 additions and 3 deletions
|
|
@ -688,8 +688,8 @@ bool HelpRequested(const ArgsManager& args)
|
|||
|
||||
void SetupHelpOptions(ArgsManager& args)
|
||||
{
|
||||
args.AddArg("-?", "Print this help message and exit", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
|
||||
args.AddHiddenArgs({"-h", "-help"});
|
||||
args.AddArg("-help", "Print this help message and exit (also -h or -?)", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
|
||||
args.AddHiddenArgs({"-h", "-?"});
|
||||
}
|
||||
|
||||
static const int screenWidth = 79;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue