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 wrong exit code for --help #90

Merged
merged 1 commit into from Aug 13, 2018

Conversation

psychocrypt
Copy link
Member

@psychocrypt psychocrypt commented Aug 12, 2018

If the user ask the app to show the help the most binaries currently returning the exit code 1.
Asking for a the help message and get them showed without errors must be return the exit code zero because the user requested action is fulfilled.

  • return exit code zero user request -h/--help
  • return exit code zero if --version is requested and a valid cli option

If the user ask the app for to show the help the most binaries currently returning the exit code `1`.
Asking for a the help essage and get them showed without error must be return zero because the user requested action is fulfilled.

- return exit code zero user request `-h/--help`
- return exit code zero if `--version` is requested and a valid cli option
@psychocrypt psychocrypt added the bug Something isn't working label Aug 12, 2018
@psychocrypt psychocrypt added this to the 0.4.0.0/0.3.X.X milestone Aug 12, 2018
@fireice-uk fireice-uk merged commit dac4280 into ryo-currency:dev Aug 13, 2018
@psychocrypt psychocrypt mentioned this pull request Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants