Commit 26555f9ea263cfb54eba33348e3d8bb695187a46
Committed by
GitHub
1 parent
6aa58d58
Grammar fix. (#510)
Showing
1 changed file
with
1 additions
and
1 deletions
include/CLI/Error.hpp
| ... | ... | @@ -176,7 +176,7 @@ class CallForVersion : public Success { |
| 176 | 176 | : CallForVersion("This should be caught in your main function, see examples", ExitCodes::Success) {} |
| 177 | 177 | }; |
| 178 | 178 | |
| 179 | -/// Does not output a diagnostic in CLI11_PARSE, but allows to return from main() with a specific error code. | |
| 179 | +/// Does not output a diagnostic in CLI11_PARSE, but allows main() to return with a specific error code. | |
| 180 | 180 | class RuntimeError : public ParseError { |
| 181 | 181 | CLI11_ERROR_DEF(ParseError, RuntimeError) |
| 182 | 182 | explicit RuntimeError(int exit_code = 1) : RuntimeError("Runtime error", exit_code) {} | ... | ... |