aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor C. Richberger <Taywee@gmx.com>2016-06-28 08:09:15 -0600
committerTaylor C. Richberger <Taywee@gmx.com>2016-06-28 08:09:15 -0600
commit985969cb65e078ef6f92b716ed75430c2d4298aa (patch)
tree08b54f5909a16196172ff1f419998375347a3c0d
parentimprove wording of ExtraError (diff)
downloadargs.hxx-985969cb65e078ef6f92b716ed75430c2d4298aa.tar.xz
fix weird typo
-rw-r--r--args.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/args.hxx b/args.hxx
index 3553499..9a5681a 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 is only be allowed to be passed once";
+ problem << "Flag '" << flag << "' was passed multiple times, but is only 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 is only be allowed to be passed once";
+ problem << "Flag '" << flag << "' was passed multiple times, but is only allowed to be passed once";
throw ExtraError(problem.str());
}
matched = true;