diff options
author | Jim Ingham <jingham@apple.com> | 2022-04-05 09:40:11 -0700 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2022-04-05 09:42:05 -0700 |
commit | 8c3a6fe37fc36537b939ea75a59fb2d5963246fb (patch) | |
tree | a812993008966fea2d22369207244c450792f8da /lldb/source/Interpreter/CommandInterpreter.cpp | |
parent | 016e59bf2cbf3e550a1fca5c4de204d84565ab03 (diff) | |
download | llvm-8c3a6fe37fc36537b939ea75a59fb2d5963246fb.zip llvm-8c3a6fe37fc36537b939ea75a59fb2d5963246fb.tar.gz llvm-8c3a6fe37fc36537b939ea75a59fb2d5963246fb.tar.bz2 |
Fix a mistyping introduced with the new container command.
I also added a call to help in the test which was crashing before
the test, and not after.
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index f9ba5c3..760a33a 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -1445,7 +1445,7 @@ void CommandInterpreter::GetHelp(CommandReturnObject &result, result.AppendMessage("Current user-defined container commands:"); result.AppendMessage(""); max_len = FindLongestCommandWord(m_user_mw_dict); - for (pos = m_user_dict.begin(); pos != m_user_mw_dict.end(); ++pos) { + for (pos = m_user_mw_dict.begin(); pos != m_user_mw_dict.end(); ++pos) { OutputFormattedHelpText(result.GetOutputStream(), pos->first, "--", pos->second->GetHelp(), max_len); } |