Added error replies on invalid arguments and unexpected command error.