Commit 1b9aac85ca67c8c8ffb0e1f09276a0cf7238d389

Authored by Henry Fredrick Schreiner
Committed by Henry Schreiner
1 parent 15c86072

Using add_help_flag internally

Showing 1 changed file with 1 additions and 1 deletions
include/CLI/App.hpp
... ... @@ -140,7 +140,7 @@ class App {
140 140 App(std::string description_, bool help, detail::enabler) : description_(std::move(description_)) {
141 141  
142 142 if(help)
143   - help_ptr_ = add_flag("-h,--help", "Print this help message and exit");
  143 + add_help_flag("-h,--help", "Print this help message and exit");
144 144 }
145 145  
146 146 public:
... ...