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 4e3bab1 commit 9bc3f56Copy full SHA for 9bc3f56
src/System.CommandLine/ArgumentArity.cs
@@ -85,9 +85,9 @@ internal static FailedArgumentConversionArityResult Validate(
85
86
public static IArgumentArity ExactlyOne => new ArgumentArity(1, 1);
87
88
- public static IArgumentArity ZeroOrMore => new ArgumentArity(0, byte.MaxValue);
+ public static IArgumentArity ZeroOrMore => new ArgumentArity(0, int.MaxValue);
89
90
- public static IArgumentArity OneOrMore => new ArgumentArity(1, byte.MaxValue);
+ public static IArgumentArity OneOrMore => new ArgumentArity(1, int.MaxValue);
91
92
internal static IArgumentArity Default(Type type, Argument argument, ISymbol parent)
93
{
0 commit comments