Make exit status on help message success
Hi there,
First of all, thanks a lot for your work on this very helpful and powerful tool.
I was surprised today to note that bees exits with an error code, 1, when one does beesd --help. I believe standard behaviour (and logic?) is to exit with success in this case, since the user asked for a help message, and the program gave it, so everything was "successful", right?
If you disagree just feel free to close this. Best regards, Mark.
Except my two comments, LGTM, but please check that the beesd runner script still works correctly when using
--help.
Just tested scripts/beesd (into which I had to hardcode the path to the rebuilt bees executable) and it seems to be ok. Is that what you meant? I don't see anywhere in scripts/beesd.in that refers to the exit code of the binary anyhow.
Just tested
scripts/beesd(into which I had to hardcode the path to the rebuiltbeesexecutable) and it seems to be ok. Is that what you meant? I don't see anywhere in scripts/beesd.in that refers to the exit code of the binary anyhow.
Yeah, I had the idea that it may exit on error and thus may depend on the exit code for help.