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

Bugfix: Requesting help in case of an error needs exit code > 0 #1305

Closed
wants to merge 1 commit into from

Conversation

gabyx
Copy link

@gabyx gabyx commented Dec 29, 2020

Returning nil, when flag.ErrHelp is returned, should really not exit with '0'.

Thanks for merging.

Returning nil, when flag.ErrHelp is returned, should really not exit with '0'.
@CLAassistant
Copy link

CLAassistant commented Dec 29, 2020

CLA assistant check
All committers have signed the CLA.

@gabyx gabyx closed this Dec 29, 2020
@gabyx
Copy link
Author

gabyx commented Dec 29, 2020

PR #922 solves this.

@gabyx gabyx reopened this Dec 29, 2020
@gabyx
Copy link
Author

gabyx commented Dec 29, 2020

As #922 is reverted: Shouln't this PR be feasible?

@marckhouzam
Copy link
Collaborator

marckhouzam commented Dec 29, 2020

Hi @gabyx. Although this is a good idea there may be backwards-compatibility concerns. Maybe #1068 which reverted part of #922 can give some info. Also the tests seem to fail which could be a hint of the issue with such a change.

@github-actions
Copy link

github-actions bot commented Apr 3, 2021

This PR is being marked as stale due to a long period of inactivity

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.

None yet

3 participants