Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Display help more liberally. #7

Merged
merged 4 commits into from Apr 10, 2013
Commits on Apr 8, 2013
  1. Display help more liberally.

    MarkBennett committed Apr 8, 2013
    Plow now displays help if you:
    
     * don't enter any args or commands
     * enter "help" or "usage"
    
    It will continue to display help if you do:
    
        plow --help
  2. exit with 0 on help

    MarkBennett committed Apr 8, 2013
  3. use return code EX_USAGE (64) from sysexits.h

    MarkBennett committed Apr 8, 2013
    Similar to other commands such as mkdir
Commits on Apr 10, 2013
  1. Update exit status to follow bash conventions.

    MarkBennett committed Apr 10, 2013
    Previously, it explicitly returned 0. As this is the default for exit it
    confusing and unconventional.
    
    Also added a note explaining the meaning and source of exit 64.