- errorFree = errorCheckor->checkInput(input);
- if (errorFree == true) {
- CommandOptionParser parser(input);
- commandName = parser.getCommandString();
+ //allow user to omit the () on the quit command
+ if (input == "quit") { input = "quit()"; }
+
+ //errorFree = errorCheckor->checkInput(input);
+ //if (errorFree == true) {
+ CommandOptionParser parser(input);
+ commandName = parser.getCommandString();
+ options = parser.getOptionString();
+
+ if (commandName != "") {