[Lldb-commits] [lldb] [LLDB]Provide clearer error message for invalid commands. (PR #111891)

Vy Nguyen via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 14 08:23:37 PDT 2024


================
@@ -70,6 +70,8 @@ class CommandObjectMultiword : public CommandObject {
     return m_subcommand_dict;
   }
 
+  std::string GetTopSubcommands(int count);
----------------
oontvoo wrote:

P.S: Actually, didn't end up renaming it Jim's suggestion, but to something else, hopefully less confusing, which is "GetSubcommandsHint" - whether it returns a top 5 sub-commands or whatever order is transparent to caller.
(Then we can change the content in later patch as needed)

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


More information about the lldb-commits mailing list