Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Automatic update of McMaster.Extensions.CommandLineUtils to 3.0.0 (#962)
Browse files Browse the repository at this point in the history
* 📦 Automatic update of McMaster.Extensions.CommandLineUtils to 3.0.0

* Updated library usage as suggested by upstream

natemcmaster/CommandLineUtils#339
  • Loading branch information
skolima authored May 4, 2020
1 parent 4ec0d54 commit 9eb26b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NuKeeper.Abstractions/NuKeeper.Abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.4.2" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="3.0.0" />
<PackageReference Include="NuGet.Protocol" Version="5.5.1" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion NuKeeper/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static int Main(string[] args)
{
var container = ContainerRegistration.Init();

var app = new CommandLineApplication<Program> { ThrowOnUnexpectedArgument = false };
var app = new CommandLineApplication<Program> { UnrecognizedArgumentHandling = UnrecognizedArgumentHandling.StopParsingAndCollect };
app.Conventions.UseDefaultConventions().UseConstructorInjection(container);

try
Expand Down

0 comments on commit 9eb26b6

Please sign in to comment.