parse

Parse the command line and throw an exception if parsing fails.

You should use main instead unless you want to handle output yourself.