ZeroCM / zcm

Zero Communications and Marshalling

Home Page:http://zerocm.github.io/zcm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jhoellerbauer opened this issue · comments

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?

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

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.