Skip to content

Commit 1d145b4

Browse files
authored
Merge pull request #31 from mrboring-forks/add-missing-zeroorone
Added missing ZeroOrOne
2 parents bf4bf9b + 5aba5f7 commit 1d145b4

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
@@ -67,6 +67,7 @@ type Arity =
6767
static member inline op_Implicit(argumentArity: ArgumentArity) : Arity =
6868
match argumentArity.MinimumNumberOfValues, argumentArity.MaximumNumberOfValues with
6969
| 0, 0 -> Zero
70+
| 0, 1 -> ZeroOrOne
7071
| 0, max when max = 100_000 -> ZeroOrMore
7172
| min, max when min = max -> ExactlyOne
7273
| min, max when min = 1 && max = 100_000 -> OneOrMore

0 commit comments

Comments
 (0)