Interpret command line input correctly