Skip to content

Commit dd5645a

Browse files
authored
Merge pull request #6476 from jimingham/remove-help-command-again
Remove the undocumented `help` subcommand.
2 parents 6a04c48 + d3019ab commit dd5645a

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

lldb/source/Commands/CommandObjectMultiword.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,6 @@ bool CommandObjectMultiword::Execute(const char *args_string,
173173
return result.Succeeded();
174174
}
175175

176-
if (sub_command.equals_insensitive("help")) {
177-
this->CommandObject::GenerateHelpText(result);
178-
return result.Succeeded();
179-
}
180-
181176
if (m_subcommand_dict.empty()) {
182177
result.AppendErrorWithFormat("'%s' does not have any subcommands.\n",
183178
GetCommandName().str().c_str());

lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,3 @@ def test_ambiguous_subcommand(self):
1919
@no_debug_info_test
2020
def test_empty_subcommand(self):
2121
self.expect("platform \"\"", error=True, substrs=["Need to specify a non-empty subcommand."])
22-
23-
@no_debug_info_test
24-
def test_help(self):
25-
# <multiword> help brings up help.
26-
self.expect("platform help",
27-
substrs=["Commands to manage and create platforms.",
28-
"Syntax: platform [",
29-
"The following subcommands are supported:",
30-
"connect",
31-
"Select the current platform"])

0 commit comments

Comments
 (0)