diff options
author | Taylor C. Richberger <Taywee@gmx.com> | 2016-06-14 19:54:22 -0600 |
---|---|---|
committer | Taylor C. Richberger <Taywee@gmx.com> | 2016-06-14 19:54:22 -0600 |
commit | a57ebfa9b369a206b8c9d0acfc422ae758471471 (patch) | |
tree | b712e409fd8b35225dafedb96246349663e1f28d /args.hxx | |
parent | Merge branch '19-disallow-multiple-arguments-for-a-the-same-value-flag' into ... (diff) | |
download | args.hxx-a57ebfa9b369a206b8c9d0acfc422ae758471471.tar.xz |
improve wording of ExtraError
Diffstat (limited to 'args.hxx')
-rw-r--r-- | args.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |