parser.getCommandInfo() throws an exception when invalid user input is entered