Clean up, clarify and standardize help text, and fix a few help text formatting problems.

llvm-svn: 113408
This commit is contained in:
Caroline Tice
2010-09-08 21:06:11 +00:00
parent 2634032c66
commit e3d2631567
13 changed files with 54 additions and 52 deletions

View File

@@ -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());