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.
1 parent 7f7c394 commit 5aba5f7Copy full SHA for 5aba5f7
src/FSharp.SystemCommandLine/Inputs.fs
@@ -71,6 +71,7 @@ type Arity =
71
static member inline op_Implicit(argumentArity: ArgumentArity) : Arity =
72
match argumentArity.MinimumNumberOfValues, argumentArity.MaximumNumberOfValues with
73
| 0, 0 -> Zero
74
+ | 0, 1 -> ZeroOrOne
75
| 0, max when max = 100_000 -> ZeroOrMore
76
| min, max when min = max -> ExactlyOne
77
| min, max when min = 1 && max = 100_000 -> OneOrMore
0 commit comments