================
@@ -117,6 +119,24 @@ llvm::Error connectBackend(lldb_mcp::Multiplexer 
&multiplexer, MainLoop &loop,
   return llvm::Error::success();
 }
 
+void printHelp(StringRef tool_name) {
+  outs() << "OVERVIEW: LLDB MCP\n\nUSAGE: " << tool_name << " [options]\n";
+  outs() << R"___(
+Multiplexes the Model Context Protocol over stdio across the running LLDB
+instances, and hosts its own debug sessions.
+
+OPTIONS:
+  -h, --help     Display this help message
+  -v, --version  Display the version
+)___";
+}
+
+void printVersion() {
+  outs() << "lldb-mcp: ";
----------------
JDevlieghere wrote:

There's no excuse

https://github.com/llvm/llvm-project/pull/212680
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to