[Lldb-commits] [lldb] 011cc6d - [lldb-vsocde] Cleaning up the usage of the Separate helper in Options.td.
David Goldman via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 26 12:27:32 PDT 2023
Author: John Harrison
Date: 2023-07-26T15:27:17-04:00
New Revision: 011cc6d8bfba44ae7e057854c4e7110ae0a4ba37
URL: https://github.com/llvm/llvm-project/commit/011cc6d8bfba44ae7e057854c4e7110ae0a4ba37
DIFF: https://github.com/llvm/llvm-project/commit/011cc6d8bfba44ae7e057854c4e7110ae0a4ba37.diff
LOG: [lldb-vsocde] Cleaning up the usage of the Separate helper in Options.td.
Reviewed By: wallace
Differential Revision: https://reviews.llvm.org/D154990
Added:
Modified:
lldb/tools/lldb-vscode/Options.td
Removed:
################################################################################
diff --git a/lldb/tools/lldb-vscode/Options.td b/lldb/tools/lldb-vscode/Options.td
index 8c51a994ebc270..a6ba0a318f388a 100644
--- a/lldb/tools/lldb-vscode/Options.td
+++ b/lldb/tools/lldb-vscode/Options.td
@@ -17,25 +17,25 @@ def: Flag<["-"], "g">,
Alias<wait_for_debugger>,
HelpText<"Alias for --wait-for-debugger">;
-def port: Separate<["--", "-"], "port">,
+def port: S<"port">,
MetaVarName<"<port>">,
HelpText<"Communicate with the lldb-vscode tool over the defined port.">;
def: Separate<["-"], "p">,
Alias<port>,
HelpText<"Alias for --port">;
-def launch_target: Separate<["--", "-"], "launch-target">,
+def launch_target: S<"launch-target">,
MetaVarName<"<target>">,
HelpText<"Launch a target for the launchInTerminal request. Any argument "
"provided after this one will be passed to the target. The parameter "
"--comm-file must also be specified.">;
-def comm_file: Separate<["--", "-"], "comm-file">,
+def comm_file: S<"comm-file">,
MetaVarName<"<file>">,
HelpText<"The fifo file used to communicate the with the debug adaptor "
"when using --launch-target.">;
-def debugger_pid: Separate<["--", "-"], "debugger-pid">,
+def debugger_pid: S<"debugger-pid">,
MetaVarName<"<pid>">,
HelpText<"The PID of the lldb-vscode instance that sent the launchInTerminal "
"request when using --launch-target.">;
More information about the lldb-commits
mailing list