We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf4bf9b + 5aba5f7 commit 1d145b4Copy full SHA for 1d145b4
src/FSharp.SystemCommandLine/Inputs.fs
@@ -67,6 +67,7 @@ type Arity =
67
static member inline op_Implicit(argumentArity: ArgumentArity) : Arity =
68
match argumentArity.MinimumNumberOfValues, argumentArity.MaximumNumberOfValues with
69
| 0, 0 -> Zero
70
+ | 0, 1 -> ZeroOrOne
71
| 0, max when max = 100_000 -> ZeroOrMore
72
| min, max when min = max -> ExactlyOne
73
| min, max when min = 1 && max = 100_000 -> OneOrMore
0 commit comments