Parse command line arguments in two stages
Parse command line arguments in two stages

The first stage parses the config file and global options, up until the
sub-command name. Stage 2 parses all options after the subcommand name
is known, and shorthands for command-specific flags have been made.

thijzert/speeldoos