Improve help text for (lldb) target symbols add

There were some missing words and awkward syntax.  I think this is clearer.

Differential Revision: https://reviews.llvm.org/D73589
This commit is contained in:
Adrian McCarthy 2020-01-28 15:15:58 -08:00
parent c25938d57b
commit 0e362d82b9
1 changed files with 6 additions and 5 deletions

View File

@ -3999,19 +3999,20 @@ public:
: CommandObjectParsed( : CommandObjectParsed(
interpreter, "target symbols add", interpreter, "target symbols add",
"Add a debug symbol file to one of the target's current modules by " "Add a debug symbol file to one of the target's current modules by "
"specifying a path to a debug symbols file, or using the options " "specifying a path to a debug symbols file or by using the options "
"to specify a module to download symbols for.", "to specify a module.",
"target symbols add <cmd-options> [<symfile>]", "target symbols add <cmd-options> [<symfile>]",
eCommandRequiresTarget), eCommandRequiresTarget),
m_option_group(), m_option_group(),
m_file_option( m_file_option(
LLDB_OPT_SET_1, false, "shlib", 's', LLDB_OPT_SET_1, false, "shlib", 's',
CommandCompletions::eModuleCompletion, eArgTypeShlibName, CommandCompletions::eModuleCompletion, eArgTypeShlibName,
"Fullpath or basename for module to find debug symbols for."), "Locate the debug symbols for the shared library specified by "
"name."),
m_current_frame_option( m_current_frame_option(
LLDB_OPT_SET_2, false, "frame", 'F', LLDB_OPT_SET_2, false, "frame", 'F',
"Locate the debug symbols the currently selected frame.", false, "Locate the debug symbols for the currently selected frame.",
true) false, true)
{ {
m_option_group.Append(&m_uuid_option_group, LLDB_OPT_SET_ALL, m_option_group.Append(&m_uuid_option_group, LLDB_OPT_SET_ALL,