diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp --- a/lldb/source/Commands/CommandObjectMultiword.cpp +++ b/lldb/source/Commands/CommandObjectMultiword.cpp @@ -174,11 +174,6 @@ return result.Succeeded(); } - if (sub_command.equals_insensitive("help")) { - this->CommandObject::GenerateHelpText(result); - return result.Succeeded(); - } - if (m_subcommand_dict.empty()) { result.AppendErrorWithFormat("'%s' does not have any subcommands.\n", GetCommandName().str().c_str()); diff --git a/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py b/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py --- a/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py +++ b/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py @@ -19,13 +19,3 @@ @no_debug_info_test def test_empty_subcommand(self): self.expect("platform \"\"", error=True, substrs=["Need to specify a non-empty subcommand."]) - - @no_debug_info_test - def test_help(self): - # help brings up help. - self.expect("platform help", - substrs=["Commands to manage and create platforms.", - "Syntax: platform [", - "The following subcommands are supported:", - "connect", - "Select the current platform"])