Skip to content

Commit

Permalink
Merge pull request #44 from MarcStan/master
Browse files Browse the repository at this point in the history
parser no longer throws excpetion when AcceptAdditionalArguments=true…
  • Loading branch information
j-maly authored Jun 13, 2017
2 parents cb2c155 + c039d25 commit bd30692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CommandLineArgumentsParser/CommandLineParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,9 @@ private void ParseAdditionalArguments(List<string> argsList, int i)
}
AdditionalArgumentsSettings.ProcessArguments();
}
else
else if(i < argsList.Count)
{
// only throw when there are any additional arguments
throw new CommandLineFormatException(
Messages.EXC_ADDITIONAL_ARGUMENTS_FOUND);
}
Expand Down

0 comments on commit bd30692

Please sign in to comment.