From e3d26315672b8ae63b69ae9a3a03281e7b84a42c Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Wed, 8 Sep 2010 21:06:11 +0000 Subject: Clean up, clarify and standardize help text, and fix a few help text formatting problems. llvm-svn: 113408 --- lldb/source/Commands/CommandObjectLog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Commands/CommandObjectLog.cpp') 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 { -- cgit v1.1