Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the CLI parser not barf on unknown tokens #1026

Open
baronfel opened this issue Oct 14, 2022 · 1 comment
Open

Make the CLI parser not barf on unknown tokens #1026

baronfel opened this issue Oct 14, 2022 · 1 comment
Labels
maintenance Improve codebase

Comments

@baronfel
Copy link
Contributor

Per #952 unknown tokens cause exceptions. We should be more flexible and ignore them instead of hard erroring to make backwards-compatibility easier.

@TheAngryByrd
Copy link
Member

I think https://learn.microsoft.com/en-us/dotnet/api/system.commandline.command.treatunmatchedtokensaserrors?view=system-commandline might be what we need to set. Otherwise we probably want to keep old flags around and create issues for clients when we deprecate them.

@TheAngryByrd TheAngryByrd added the maintenance Improve codebase label Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Improve codebase
Projects
None yet
Development

No branches or pull requests

2 participants