added parseCommandLine