Commit 15c86072a6dd0431d06dff4eb75d4082ab795073
Committed by
Henry Schreiner
1 parent
077ba404
Adding a little info to the docs
Showing
2 changed files
with
3 additions
and
0 deletions
README.md
include/CLI/App.hpp
| ... | ... | @@ -331,6 +331,7 @@ class App { |
| 331 | 331 | return opt; |
| 332 | 332 | } |
| 333 | 333 | |
| 334 | + /// Add a help flag, currently throws an error if already set | |
| 334 | 335 | Option *add_help_flag(std::string name, std::string description = "") { |
| 335 | 336 | if(help_ptr_) |
| 336 | 337 | throw IncorrectConstruction("Help flag already initialized"); | ... | ... |