Implement command line options.