fix another state machine error in m command.
improve syntax error output formatting.