Cleaning up the command line args processing.