Szpadel/chrome-headless-render-pdf

Return non-zero error code when command fails

zwippie opened this issue · 1 comments

For example, when the --url option is not provided then the usage info is printed, but the return code is zero. This makes it hard to catch errors.

You are right, It should work like that from beginning