diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectLog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectLog.cpp b/lldb/source/Commands/CommandObjectLog.cpp index a63e2ed..f5ad33d 100644 --- a/lldb/source/Commands/CommandObjectLog.cpp +++ b/lldb/source/Commands/CommandObjectLog.cpp @@ -83,7 +83,7 @@ public: { if (args.GetArgumentCount() < 1) { - result.GetErrorStream() << m_cmd_syntax.c_str(); + result.AppendErrorWithFormat("Usage: %s\n", m_cmd_syntax.c_str()); } else { @@ -254,7 +254,7 @@ public: const size_t argc = args.GetArgumentCount(); if (argc == 0) { - result.GetErrorStream() << m_cmd_syntax.c_str(); + result.AppendErrorWithFormat("Usage: %s\n", m_cmd_syntax.c_str()); } else { |
