From a57ebfa9b369a206b8c9d0acfc422ae758471471 Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Tue, 14 Jun 2016 19:54:22 -0600 Subject: improve wording of ExtraError --- args.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/args.hxx b/args.hxx index 26cb4f6..3553499 100644 --- a/args.hxx +++ b/args.hxx @@ -420,7 +420,7 @@ namespace args if (extraError && matched) { std::ostringstream problem; - problem << "Flag '" << flag << "' was passed multiple times, but should only be allowed to be passed once"; + problem << "Flag '" << flag << "' was passed multiple times, but is only be allowed to be passed once"; throw ExtraError(problem.str()); } matched = true; @@ -436,7 +436,7 @@ namespace args if (extraError && matched) { std::ostringstream problem; - problem << "Flag '" << flag << "' was passed multiple times, but should only be allowed to be passed once"; + problem << "Flag '" << flag << "' was passed multiple times, but is only be allowed to be passed once"; throw ExtraError(problem.str()); } matched = true; -- cgit v1.2.1