Parse command line options.