Skip to content

Commit cc706bf

Browse files
committed
[lldb] Rename 'healthcheck' to 'swift-healthcheck'
TestAbbreviation is failing as it expects 'h' to be a shortcut for 'help' which seems also what users expect. Rename healthcheck to 'swift-healthcheck' for now to fix this.
1 parent eeaf069 commit cc706bf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lldb/source/Commands/CommandObjectHealthcheck.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ using namespace lldb_private;
1919

2020
CommandObjectHealthcheck::CommandObjectHealthcheck(
2121
CommandInterpreter &interpreter)
22-
: CommandObjectParsed(interpreter, "healthcheck",
22+
: CommandObjectParsed(interpreter, "swift-healthcheck",
2323
"Show the LLDB debugger health check diagnostics.",
24-
"healthcheck") {}
24+
"swift-healthcheck") {}
2525

2626
bool CommandObjectHealthcheck::DoExecute(Args &args,
2727
CommandReturnObject &result) {
@@ -52,4 +52,4 @@ bool CommandObjectHealthcheck::DoExecute(Args &args,
5252
temp_path.c_str());
5353
#endif
5454
return true;
55-
}
55+
}

lldb/source/Interpreter/CommandInterpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ void CommandInterpreter::LoadCommandDictionary() {
513513
REGISTER_COMMAND_OBJECT("gui", CommandObjectGUI);
514514
REGISTER_COMMAND_OBJECT("help", CommandObjectHelp);
515515
#ifdef LLDB_ENABLE_SWIFT
516-
REGISTER_COMMAND_OBJECT("healthcheck", CommandObjectHealthcheck);
516+
REGISTER_COMMAND_OBJECT("swift-healthcheck", CommandObjectHealthcheck);
517517
#endif
518518
REGISTER_COMMAND_OBJECT("log", CommandObjectLog);
519519
REGISTER_COMMAND_OBJECT("memory", CommandObjectMemory);

0 commit comments

Comments
 (0)