aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-05-02 21:28:40 +0000
committerEnrico Granata <egranata@apple.com>2016-05-02 21:28:40 +0000
commit0a9948534107b247f93420076a7f5b765e31d00c (patch)
tree766dc58a18addd3028461c7fc07b446b2d911583 /lldb/source/Interpreter/CommandInterpreter.cpp
parent6bbd78df6f39e2ede1d4898b85e3e66c78474ff3 (diff)
downloadllvm-0a9948534107b247f93420076a7f5b765e31d00c.zip
llvm-0a9948534107b247f93420076a7f5b765e31d00c.tar.gz
llvm-0a9948534107b247f93420076a7f5b765e31d00c.tar.bz2
Fix an issue where the apropos command would not print fully qualified command names for nested command objects
rdar://problem/26020072 llvm-svn: 268309
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index bf6cded..34574d4 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -2802,7 +2802,7 @@ CommandInterpreter::FindCommandsForApropos (const char *search_word,
search_syntax,
search_options))
{
- commands_found.AppendString (command_name);
+ commands_found.AppendString (cmd_obj->GetCommandName());
commands_help.AppendString (cmd_obj->GetHelp());
}