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

ZCM tools should not exit 1 in response to "-h" #481

Open
jhoellerbauer opened this issue Apr 8, 2024 · 2 comments
Open

ZCM tools should not exit 1 in response to "-h" #481

jhoellerbauer opened this issue Apr 8, 2024 · 2 comments

Comments

@jhoellerbauer
Copy link
Contributor

printing the help text and exiting is the proper response to -h. Therefore, it is an error to return a non-0 returncode. Why do all of the tools exit with -1 in response to requesting the help text?

@jbendes
Copy link
Member

jbendes commented Apr 8, 2024

I think probably because it was easier to code haha. Feel free to change it!

@xorvoid
Copy link
Collaborator

xorvoid commented Apr 8, 2024

Simply naïvety and inattention to detail which is common for a young programmer (yes.. shots fired.. at myself).

Just fix it if it's a problem for you.

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

No branches or pull requests

3 participants