Skip to content

Only show help arguments for Options/Arguments with an Arity greater than zero#2586

Merged
jonsequitur merged 1 commit intodotnet:mainfrom
baronfel:remove-argument-display-from-zero-arity-symbol-help-output
Jun 23, 2025
Merged

Only show help arguments for Options/Arguments with an Arity greater than zero#2586
jonsequitur merged 1 commit intodotnet:mainfrom
baronfel:remove-argument-display-from-zero-arity-symbol-help-output

Conversation

@baronfel
Copy link
Copy Markdown
Member

Fixes #2296

We probably have this problem in the SDK too - this fix makes total sense to do though IMO.

@baronfel baronfel requested a review from a team June 21, 2025 19:22
baronfel added a commit to baronfel/sdk that referenced this pull request Jun 21, 2025
baronfel added a commit to dotnet/sdk that referenced this pull request Jun 23, 2025
@jonsequitur jonsequitur merged commit 28ad8f7 into dotnet:main Jun 23, 2025
10 checks passed
@adamsitnik
Copy link
Copy Markdown
Member

Big thanks for fixing the bug @baronfel !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Help output for enum-type option with ArgumentArity.Zero suggests values for it regardless of the option arity being zero

3 participants