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

Returning non-zero status in case of error in parameters #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 26, 2015

  1. Returning non-zero status in case of error in parameters

    Knowing when something happened correctly and when an error occurred is important when using zopflipng in other scripts.
    
    In special, if the help message is printed without passing `-h` or `--help`, it happened because of wrong or missing parameters, and should return a non-zero status. However, passing `-h` or `--help` will return 0.
    denilsonsa committed Jun 26, 2015
    Configuration menu
    Copy the full SHA
    58bf971 View commit details
    Browse the repository at this point in the history