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

fix(exit): Be consistent in exit code #2604

Merged
merged 1 commit into from
Jul 25, 2021
Merged

fix(exit): Be consistent in exit code #2604

merged 1 commit into from
Jul 25, 2021

Conversation

epage
Copy link
Member

@epage epage commented Jul 19, 2021

PR #1637 switched clap to report 64 on errors and then #1653 switch it
to 2, but both missed a case. This also documents the reason why inline
since I had to go and dig through the history to re-discover the
motivation.

@epage epage force-pushed the exit branch 2 times, most recently from 580c347 to 8b84c05 Compare July 19, 2021 16:16
PR clap-rs#1637 switched clap to report `64` on errors and then clap-rs#1653 switch it
to `2`, but both missed a case.  This also documents the reason why inline
since I had to go and dig through the history to re-discover the
motivation.
@pksunkara pksunkara merged commit 79e3b37 into clap-rs:master Jul 25, 2021
@epage epage deleted the exit branch July 26, 2021 15:34
epage added a commit to epage/clap that referenced this pull request Oct 16, 2021
I missed a case in clap-rs#2604.  This will help people discover the
documentation describing why we chose the code we did.
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.

2 participants