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

Set flag parsing to exit on error to ensure exit status is non zero #762

Merged
merged 7 commits into from
Apr 15, 2022

Conversation

gapra-msft
Copy link
Member

@gapra-msft gapra-msft commented Apr 11, 2022

Resolves #735

I have created a draft PR against cobra to help resolve this issue, pointing to my branch until we can get that merged. spf13/cobra#1662

Will add tests once I get some feedback on this idea

@vibhansa-msft vibhansa-msft added this to the 2.0.0-preview.2 milestone Apr 12, 2022
@gapra-msft gapra-msft marked this pull request as ready for review April 13, 2022 17:14
@gapra-msft gapra-msft merged commit 4b64cb7 into main Apr 15, 2022
@gapra-msft gapra-msft deleted the gapra/flags branch April 15, 2022 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants