A simple getopt_long style command-line option parser.