[Lldb-commits] [lldb] 0e362d8 - Improve help text for (lldb) target symbols add
Adrian McCarthy via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 3 14:22:25 PST 2020
Author: Adrian McCarthy
Date: 2020-02-03T14:22:05-08:00
New Revision: 0e362d82b97fe16b5671ceeb2f3e5b6f4ccf00dd
URL: https://github.com/llvm/llvm-project/commit/0e362d82b97fe16b5671ceeb2f3e5b6f4ccf00dd
DIFF: https://github.com/llvm/llvm-project/commit/0e362d82b97fe16b5671ceeb2f3e5b6f4ccf00dd.diff
LOG: 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
Added:
Modified:
lldb/source/Commands/CommandObjectTarget.cpp
Removed:
################################################################################
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index b08a29d081a0..0239f7e33e02 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -3999,19 +3999,20 @@ class CommandObjectTargetSymbolsAdd : public CommandObjectParsed {
: CommandObjectParsed(
interpreter, "target symbols add",
"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 "
- "to specify a module to download symbols for.",
+ "specifying a path to a debug symbols file or by using the options "
+ "to specify a module.",
"target symbols add <cmd-options> [<symfile>]",
eCommandRequiresTarget),
m_option_group(),
m_file_option(
LLDB_OPT_SET_1, false, "shlib", 's',
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(
LLDB_OPT_SET_2, false, "frame", 'F',
- "Locate the debug symbols the currently selected frame.", false,
- true)
+ "Locate the debug symbols for the currently selected frame.",
+ false, true)
{
m_option_group.Append(&m_uuid_option_group, LLDB_OPT_SET_ALL,
More information about the lldb-commits
mailing list