Apply command line switches.