From 26555f9ea263cfb54eba33348e3d8bb695187a46 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Wed, 9 Sep 2020 14:08:41 -0400 Subject: [PATCH] Grammar fix. (#510) --- include/CLI/Error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CLI/Error.hpp b/include/CLI/Error.hpp index 11feaedb..6055cfba 100644 --- a/include/CLI/Error.hpp +++ b/include/CLI/Error.hpp @@ -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) {}