Skip to content

Commit

Permalink
Grammar fix. (CLIUtils#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcurtin authored Sep 9, 2020
1 parent 6aa58d5 commit 26555f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/CLI/Error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class CallForVersion : public Success {
: CallForVersion("This should be caught in your main function, see examples", ExitCodes::Success) {}
};

/// Does not output a diagnostic in CLI11_PARSE, but allows to return from main() with a specific error code.
/// Does not output a diagnostic in CLI11_PARSE, but allows main() to return with a specific error code.
class RuntimeError : public ParseError {
CLI11_ERROR_DEF(ParseError, RuntimeError)
explicit RuntimeError(int exit_code = 1) : RuntimeError("Runtime error", exit_code) {}
Expand Down

0 comments on commit 26555f9

Please sign in to comment.