Commit ca16a762dbe237851d9f0e3d560ccbecf27f09a3
1 parent
653d8b70
Nicer help message
Showing
1 changed file
with
1 additions
and
1 deletions
include/CLI.hpp
| ... | ... | @@ -38,7 +38,7 @@ struct Error : public std::runtime_error { |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | 40 | struct CallForHelp : public Error { |
| 41 | - CallForHelp() : Error("CallForHelp","", 0) {} | |
| 41 | + CallForHelp() : Error("CallForHelp","This should be caught in your main function, see examples", 0) {} | |
| 42 | 42 | }; |
| 43 | 43 | |
| 44 | 44 | struct BadNameString : public Error { | ... | ... |