chevex/yargs — pull request #27 by chrisn (2014-06-23 06:57:52+00:00)
Title: Handling of `help` and `version` options, and error customisation

This change adds a few new methods to yargs:

* `.help()` and `.version()` add automatic handling of `--help` and `--version` options
* `.showHelpOnFail()` allows the user to customise the output that yargs generates when an error is detected

I've described the parameters for these methods in the updated README.