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

Make the exit code example more clear #823

Merged
merged 3 commits into from Aug 4, 2019
Merged

Commits on Aug 2, 2019

  1. Make exit code example more clear

    The purpose of this example is to show that you can exit with an error
    code if a flag is unspecified, but with the code as it is, the only way
    to cause a non-zero exit is by adding the flag `--ginger-crouton=false`,
    which is not explained in the example.
    
    In this new version of the example, running the command with no flag
    will exit with an error, and running it with the flag will exit
    normally.
    xordspar0 committed Aug 2, 2019
    Copy the full SHA
    c75a689 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2019

  1. Merge branch 'master' into master

    Lynn Cyrin (they/them) committed Aug 3, 2019
    Copy the full SHA
    b1a7c50 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2019

  1. Merge branch 'master' into master

    Lynn Cyrin (they/them) committed Aug 4, 2019
    Copy the full SHA
    c25e4ca View commit details
    Browse the repository at this point in the history