aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectHelp.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/CommandObjectHelp.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/CommandObjectHelp.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectHelp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectHelp.cpp b/lldb/source/Commands/CommandObjectHelp.cpp
index a2959af..78c2452 100644
--- a/lldb/source/Commands/CommandObjectHelp.cpp
+++ b/lldb/source/Commands/CommandObjectHelp.cpp
@@ -112,7 +112,7 @@ CommandObjectHelp::Execute (CommandInterpreter &interpreter, Args& command, Comm
const char *long_help = sub_cmd_obj->GetHelpLong();
if ((long_help != NULL)
&& (strlen (long_help) > 0))
- interpreter.OutputFormattedHelpText (output_strm, "", "", sub_cmd_obj->GetHelpLong(), 1);
+ output_strm.Printf ("\n%s", long_help);
else
interpreter.OutputFormattedHelpText (output_strm, "", "", sub_cmd_obj->GetHelp(), 1);
output_strm.Printf ("\nSyntax: %s\n", sub_cmd_obj->GetSyntax());