Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

iBicha
Copy link
Contributor

@iBicha iBicha commented Sep 30, 2022

Fixes #1748

This bug is causing confusion on what it optional and what it not. Reusing args between commands has nothing to do with them being optional or required.

@iBicha
Copy link
Contributor Author

iBicha commented Oct 3, 2022

cc @jonsequitur

@jonsequitur
Copy link
Contributor

Can you add a test that demonstrates the behavior?

@iBicha
Copy link
Contributor Author

iBicha commented Oct 4, 2022

Can you add a test that demonstrates the behavior?

Mostly covered by other tests, but I added a case where the arg is shared, it should not be optional.

@jonsequitur jonsequitur merged commit c776cd4 into dotnet:main Oct 4, 2022
@iBicha iBicha deleted the bug/fix-help-builder branch October 4, 2022 17:16
vlada-shubina added a commit to dotnet/sdk that referenced this pull request Oct 7, 2022
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.

[BUG?] Reused arguments are considered optional
2 participants