[Lldb-commits] [lldb] [lldb/Commands] Alias `script` command to `scripting execute` (PR #97263)
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 1 17:48:25 PDT 2024
================
@@ -518,6 +518,15 @@ void CommandInterpreter::Initialize() {
AddAlias("re", cmd_obj_sp);
}
+ cmd_obj_sp = GetCommandSPExact("scripting execute");
+ if (cmd_obj_sp) {
+ AddAlias("sc", cmd_obj_sp);
+ AddAlias("scr", cmd_obj_sp);
+ AddAlias("scri", cmd_obj_sp);
+ AddAlias("scrip", cmd_obj_sp);
+ AddAlias("script", cmd_obj_sp);
----------------
medismailben wrote:
I agree its not the most elegant solution but I'd prefer solving the partial matching issue in a follow-up.
https://github.com/llvm/llvm-project/pull/97263
More information about the lldb-commits
mailing list