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

Commit 157b19f

Browse files
committed
Fix build errors after package update
1 parent b5e8ec6 commit 157b19f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

TabletBot/Program.cs

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

2727
var root = new RootCommand("TabletBot")
2828
{
29-
new Option<bool>("--unit", "Runs the bot as a unit." )
30-
{
31-
Argument = new Argument<bool>("unit")
32-
},
29+
new Option<bool>("--unit", "Runs the bot as a unit." ),
3330
new Option<LogLevel?>("--level", "Limits logging to a specific minimum log level.")
34-
{
35-
Argument = new Argument<LogLevel?>("level")
36-
}
3731
};
3832

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

0 commit comments

Comments
 (0)