[Lldb-commits] [PATCH] D154990: [lldb-vsocde] Cleaning up the usage of the Separate helper in Options.td.
John Harrison via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 11 10:42:43 PDT 2023
ashgti created this revision.
Herald added a project: All.
ashgti requested review of this revision.
Herald added subscribers: lldb-commits, wangpc.
Herald added a project: LLDB.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154990
Files:
lldb/tools/lldb-vscode/Options.td
Index: lldb/tools/lldb-vscode/Options.td
===================================================================
--- lldb/tools/lldb-vscode/Options.td
+++ lldb/tools/lldb-vscode/Options.td
@@ -17,25 +17,25 @@
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.">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154990.539187.patch
Type: text/x-patch
Size: 1330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230711/fc1b6646/attachment.bin>
More information about the lldb-commits
mailing list