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 f8ba3fa commit 188a46eCopy full SHA for 188a46e
src/System.CommandLine/Option.cs
@@ -169,7 +169,7 @@ public string? ArgumentHelpName
169
public virtual ArgumentArity Arity
170
{
171
get => Argument.Arity;
172
- init
+ set
173
174
if (value.MaximumNumberOfValues > 0)
175
src/System.CommandLine/Option{T}.cs
@@ -65,7 +65,7 @@ public Option(
65
public override ArgumentArity Arity
66
67
get => base.Arity;
68
- init => Argument.Arity = value;
+ set => Argument.Arity = value;
69
}
70
71
0 commit comments