mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-07 23:33:52 +00:00
Fix default --version help message capitalisation. (#476)
The default help message for “--help” is capitalised, whereas the one for “--version” was not: -h,--help Print this help message and exit -V,--version display program version information and exit
This commit is contained in:
parent
5925f94b69
commit
dccfb06d65
@ -719,7 +719,7 @@ class App {
|
||||
version_ptr_ = add_flag_callback(
|
||||
flag_name,
|
||||
[versionString]() { throw(CLI::CallForVersion(versionString, 0)); },
|
||||
"display program version information and exit");
|
||||
"Display program version information and exit");
|
||||
version_ptr_->configurable(false);
|
||||
}
|
||||
|
||||
@ -738,7 +738,7 @@ class App {
|
||||
version_ptr_ = add_flag_callback(
|
||||
flag_name,
|
||||
[vfunc]() { throw(CLI::CallForVersion(vfunc(), 0)); },
|
||||
"display program version information and exit");
|
||||
"Display program version information and exit");
|
||||
version_ptr_->configurable(false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user