aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMultiword.cpp
diff options
context:
space:
mode:
authorKate Stone <katherine.stone@apple.com>2016-07-14 22:03:10 +0000
committerKate Stone <katherine.stone@apple.com>2016-07-14 22:03:10 +0000
commit7428a18c1e9ba131022184746889b69308c0180d (patch)
tree0f7bd6a83507282c28d2309627a2f07165fb45b1 /lldb/source/Commands/CommandObjectMultiword.cpp
parent36f57fbc66a70bc427805e47605d720c16dcf522 (diff)
downloadllvm-7428a18c1e9ba131022184746889b69308c0180d.zip
llvm-7428a18c1e9ba131022184746889b69308c0180d.tar.gz
llvm-7428a18c1e9ba131022184746889b69308c0180d.tar.bz2
LLDB help content has accumulated over time without a recent attempt to
review it for consistency, accuracy, and clarity. These changes attempt to address all of the above while keeping the text relatively terse. <rdar://problem/24868841> llvm-svn: 275485
Diffstat (limited to 'lldb/source/Commands/CommandObjectMultiword.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMultiword.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp
index ae19976..c951e0b 100644
--- a/lldb/source/Commands/CommandObjectMultiword.cpp
+++ b/lldb/source/Commands/CommandObjectMultiword.cpp
@@ -178,7 +178,8 @@ CommandObjectMultiword::GenerateHelpText (Stream &output_stream)
// First time through here, generate the help text for the object and
// push it to the return result object as well
- output_stream.PutCString ("The following subcommands are supported:\n\n");
+ CommandObject::GenerateHelpText(output_stream);
+ output_stream.PutCString("\nThe following subcommands are supported:\n\n");
CommandMap::iterator pos;
uint32_t max_len = FindLongestCommandWord (m_subcommand_dict);
@@ -193,7 +194,7 @@ CommandObjectMultiword::GenerateHelpText (Stream &output_stream)
if (pos->second->WantsRawCommandString ())
{
std::string help_text (pos->second->GetHelp());
- help_text.append (" This command takes 'raw' input (no need to quote stuff).");
+ help_text.append(" Expects 'raw' input (see 'help raw-input'.)");
m_interpreter.OutputFormattedHelpText (output_stream,
indented_command.c_str(),
"--",