Skip to content

Commit 5aba5f7

Browse files
committed
Added missing ZeroOrOne
1 parent 7f7c394 commit 5aba5f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FSharp.SystemCommandLine/Inputs.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ type Arity =
7171
static member inline op_Implicit(argumentArity: ArgumentArity) : Arity =
7272
match argumentArity.MinimumNumberOfValues, argumentArity.MaximumNumberOfValues with
7373
| 0, 0 -> Zero
74+
| 0, 1 -> ZeroOrOne
7475
| 0, max when max = 100_000 -> ZeroOrMore
7576
| min, max when min = max -> ExactlyOne
7677
| min, max when min = 1 && max = 100_000 -> OneOrMore

0 commit comments

Comments
 (0)