[Lldb-commits] [lldb] [lldb] Treat user aliases the same as built-ins when tab completing (PR #65974)

via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 11 10:28:57 PDT 2023


================
@@ -20,7 +20,7 @@ def test_command_abbreviations_and_aliases(self):
         self.assertTrue(result.Succeeded())
         self.assertEqual("apropos script", result.GetOutput())
 
-        command_interpreter.ResolveCommand("h", result)
+        command_interpreter.ResolveCommand("he", result)
----------------
jimingham wrote:

But there's an explicit alias from "h" to "help".  So "h" shouldn't be ambiguous, and it isn't on current TOT lldb.  If this change is making `h` ambiguous, then that's not right.

https://github.com/llvm/llvm-project/pull/65974


More information about the lldb-commits mailing list