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) =
47
47
type Arity =
48
48
| ArgumentArity of min : int * max : int
49
49
| ExactlyOne
50
- | MaximumNumberOfValues of max : int
51
- | MinimumNumberOfValues of min : int
52
50
| OneOrMore
53
51
| Zero
54
52
| ZeroOrMore
@@ -59,8 +57,6 @@ type Arity =
59
57
match arity with
60
58
| ArgumentArity ( min, max) -> ( min, max)
61
59
| ExactlyOne -> ( 1 , 1 )
62
- | MaximumNumberOfValues max -> ( 0 , max)
63
- | MinimumNumberOfValues min -> ( min, 100_000 )
64
60
| OneOrMore -> ( 1 , 100_000 )
65
61
| Zero -> ( 0 , 0 )
66
62
| ZeroOrMore -> ( 0 , 100_000 )
@@ -74,8 +70,6 @@ type Arity =
74
70
| 0 , max when max = 100_000 -> ZeroOrMore
75
71
| min, max when min = max -> ExactlyOne
76
72
| 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
79
73
| _ -> ArgumentArity ( argumentArity.MinimumNumberOfValues, argumentArity.MaximumNumberOfValues)
80
74
81
75
You can’t perform that action at this time.
0 commit comments