AppendError always appends a newline to the given argument, while
AppendErrorWithFormat does not. I've updated the calls to remove the
extra newline.
result.AppendError("Invalid breakpoint id range: Either "
"both ends of range must specify"
" a breakpoint location, or neither can "
- "specify a breakpoint location.\n");
+ "specify a breakpoint location.");
result.SetStatus(eReturnStatusFailed);
return;
}
command_string = command_line;
original_command_string = command_line;
if (m_repeat_command.empty()) {
- result.AppendError("No auto repeat.\n");
+ result.AppendError("No auto repeat.");
result.SetStatus(eReturnStatusFailed);
return false;
}