Skip to content

Commit 310ed0d

Browse files
Switch to NoValue - shouldn't need an argument - fixes #704
1 parent dc547be commit 310ed0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CommandLine/CodeConv.Shared/CodeConvProgram.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public partial class CodeConvProgram
5353
[Option("-f|--force", "Wipe the output directory before conversion", CommandOptionType.NoValue)]
5454
public bool Force { get; }
5555

56-
[Option(CoreOptionDefinition, "Force dot net core build if converting only .NET Core projects and seeing pre-conversion compile errors", CommandOptionType.SingleValue)]
56+
[Option(CoreOptionDefinition, "Force dot net core build if converting only .NET Core projects and seeing pre-conversion compile errors", CommandOptionType.NoValue)]
5757
public bool CoreOnlyProjects { get; }
5858

5959
[Option("-b|--best-effort", "Overrides warnings about compilation issues with input, and attempts a best effort conversion anyway", CommandOptionType.NoValue)]

0 commit comments

Comments
 (0)