File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/FSharp.SystemCommandLine Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ type ActionInput<'T>(inputType: ActionInputSource) =
4747type Arity =
4848 | ArgumentArity of min : int * max : int
4949 | ExactlyOne
50- | MaximumNumberOfValues of max : int
51- | MinimumNumberOfValues of min : int
5250 | OneOrMore
5351 | Zero
5452 | ZeroOrMore
@@ -59,8 +57,6 @@ type Arity =
5957 match arity with
6058 | ArgumentArity ( min, max) -> ( min, max)
6159 | ExactlyOne -> ( 1 , 1 )
62- | MaximumNumberOfValues max -> ( 0 , max)
63- | MinimumNumberOfValues min -> ( min, 100_000 )
6460 | OneOrMore -> ( 1 , 100_000 )
6561 | Zero -> ( 0 , 0 )
6662 | ZeroOrMore -> ( 0 , 100_000 )
@@ -74,8 +70,6 @@ type Arity =
7470 | 0 , max when max = 100_000 -> ZeroOrMore
7571 | min, max when min = max -> ExactlyOne
7672 | min, max when min = 1 && max = 100_000 -> OneOrMore
77- | min, max when min > 0 && max = 100_000 -> MinimumNumberOfValues min
78- | min, max when min = 0 && max < 100_000 -> MaximumNumberOfValues max
7973 | _ -> ArgumentArity ( argumentArity.MinimumNumberOfValues, argumentArity.MaximumNumberOfValues)
8074
8175
You can’t perform that action at this time.
0 commit comments