Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

Commit 239b811

Browse files
Merge pull request #58 from InfinityGhost/dependabot/nuget/System.CommandLine.Rendering-0.3.0-alpha.21216.1
Bump System.CommandLine.Rendering from 0.3.0-alpha.19577.1 to 0.3.0-alpha.21216.1
2 parents 94a4a2d + 157b19f commit 239b811

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

TabletBot/Program.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,8 @@ private static async Task Main(string[] args)
2828

2929
var root = new RootCommand("TabletBot")
3030
{
31-
new Option<bool>("--unit", "Runs the bot as a unit." )
32-
{
33-
Argument = new Argument<bool>("unit")
34-
},
31+
new Option<bool>("--unit", "Runs the bot as a unit." ),
3532
new Option<LogLevel?>("--level", "Limits logging to a specific minimum log level.")
36-
{
37-
Argument = new Argument<LogLevel?>("level")
38-
}
3933
};
4034

4135
root.Handler = CommandHandler.Create<bool, LogLevel?>((unit, level) =>

TabletBot/TabletBot.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ItemGroup>
99
<PackageReference Include="System.CommandLine.DragonFruit" Version="0.3.0-alpha.19577.1" />
1010
<PackageReference Include="System.CommandLine.Experimental" Version="0.3.0-alpha.19577.1" />
11-
<PackageReference Include="System.CommandLine.Rendering" Version="0.3.0-alpha.19577.1" />
11+
<PackageReference Include="System.CommandLine.Rendering" Version="0.3.0-alpha.21216.1" />
1212
<PackageReference Include="System.Reactive.Core" Version="5.0.0" />
1313
</ItemGroup>
1414

0 commit comments

Comments
 (0)