diff --git a/lldb/source/Commands/CommandObjectMultiword.cpp b/lldb/source/Commands/CommandObjectMultiword.cpp index 6bcf0dea03868..bae2717ffe68e 100644 --- a/lldb/source/Commands/CommandObjectMultiword.cpp +++ b/lldb/source/Commands/CommandObjectMultiword.cpp @@ -174,11 +174,6 @@ bool CommandObjectMultiword::Execute(const char *args_string, 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 index e8b14d1629e1b..70a8b44b8d13f 100644 --- a/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py +++ b/lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py @@ -19,13 +19,3 @@ def test_ambiguous_subcommand(self): @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"])