We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66d6c3 commit adfdebeCopy full SHA for adfdebe
tests/DotNetCampus.CommandLine.Tests/NamingConventionTests.cs
@@ -271,7 +271,7 @@ public void Option_ExactSpelling()
271
string? capturedValue = null;
272
273
// Act
274
- CommandLine.Parse(exactArgs, Flexible)
+ CommandLine.Parse(exactArgs, CommandLineParsingOptions.Gnu)
275
.AddHandler<ExactSpellingCommand>(o =>
276
{
277
capturedValue = o.SampleProperty;
@@ -287,7 +287,7 @@ public void Option_ExactSpelling()
287
// Act & Assert
288
Assert.ThrowsExactly<RequiredPropertyNotAssignedException>(() =>
289
290
- CommandLine.Parse(kebabArgs, Flexible)
+ CommandLine.Parse(kebabArgs, CommandLineParsingOptions.Gnu)
291
.AddHandler<ExactSpellingCommand>(_ => { })
292
.Run();
293
});
0 commit comments