A command-line option parser.