Clean up, clarify and standardize help text, and fix a few help text formatting problems.
llvm-svn: 113408
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user