-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
--help
flag exits with code 1
#1736
Comments
Thanks for reporting this back upstream. (Ve İzmir'den selamlar.) I'm not able to replicate the 130 exit code. I get 1, which is also arguably wrong but seems to be hard coded into the argument parser library we used when handling help. I can probably fix that, but that doesn't explain the 130 business. What do you have for |
Ankara'dan selam olsun 👋🏼
It is weird, I just got Nevertheless, I think it should return
|
I have a fix for |
Thank you so much! |
Hello! 🐻
I'm the author of an open source tool called halp and it is basically responsible for checking the exit codes of common command-line arguments.
Recently one of the users reported that
halp
cannot discover the--help
option ofsile
: orhun/halp#20I'm not sure if it is on purpose but it is because
sile --help
returns with code1
130
which is CTRL-C / SIGINT.I'm not fluent in lua so it would take some time for me to dive into the codebase and find the exact place where this happens. Thus I thought it would be best to create an issue and ask about this :3
The text was updated successfully, but these errors were encountered: