aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectLog.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-09-08 21:06:11 +0000
committerCaroline Tice <ctice@apple.com>2010-09-08 21:06:11 +0000
commite3d26315672b8ae63b69ae9a3a03281e7b84a42c (patch)
tree7a48cc2c77b164dc45872cbdf434d5c04e57f4ea /lldb/source/Commands/CommandObjectLog.cpp
parent2634032c66df3656a65b2a4913efdd53a512c09b (diff)
downloadllvm-e3d26315672b8ae63b69ae9a3a03281e7b84a42c.zip
llvm-e3d26315672b8ae63b69ae9a3a03281e7b84a42c.tar.gz
llvm-e3d26315672b8ae63b69ae9a3a03281e7b84a42c.tar.bz2
Clean up, clarify and standardize help text, and fix a few help text formatting problems.
llvm-svn: 113408
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectLog.cpp4
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
{