tatsuhiro-t/argparse4j — pull request #11 by cavorite (2012-12-31 17:46:27+00:00)
Title: Added shortcut method to parse arguments and handle errors at the same time.

I created a shortcut method to parse arguments and handle errors at the same time.

It's a wrapper for the `parseArgs(args)` method that catches an `ArgumentParserException`, prints the error message and exits. If no error occurs, it just returns the `Namespace` object.

I find this method useful since it simplifies the most common use case for handling arguments.