mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-01 13:13:53 +00:00
Using add_help_flag internally
This commit is contained in:
parent
15c86072a6
commit
1b9aac85ca
@ -140,7 +140,7 @@ class App {
|
||||
App(std::string description_, bool help, detail::enabler) : description_(std::move(description_)) {
|
||||
|
||||
if(help)
|
||||
help_ptr_ = add_flag("-h,--help", "Print this help message and exit");
|
||||
add_help_flag("-h,--help", "Print this help message and exit");
|
||||
}
|
||||
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user