Skip to content

Commit 011cc6d

Browse files
ashgtiDavidGoldman
authored andcommitted
[lldb-vsocde] Cleaning up the usage of the Separate helper in Options.td.
Reviewed By: wallace Differential Revision: https://reviews.llvm.org/D154990
1 parent 33a93a4 commit 011cc6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/tools/lldb-vscode/Options.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,25 @@ def: Flag<["-"], "g">,
1717
Alias<wait_for_debugger>,
1818
HelpText<"Alias for --wait-for-debugger">;
1919

20-
def port: Separate<["--", "-"], "port">,
20+
def port: S<"port">,
2121
MetaVarName<"<port>">,
2222
HelpText<"Communicate with the lldb-vscode tool over the defined port.">;
2323
def: Separate<["-"], "p">,
2424
Alias<port>,
2525
HelpText<"Alias for --port">;
2626

27-
def launch_target: Separate<["--", "-"], "launch-target">,
27+
def launch_target: S<"launch-target">,
2828
MetaVarName<"<target>">,
2929
HelpText<"Launch a target for the launchInTerminal request. Any argument "
3030
"provided after this one will be passed to the target. The parameter "
3131
"--comm-file must also be specified.">;
3232

33-
def comm_file: Separate<["--", "-"], "comm-file">,
33+
def comm_file: S<"comm-file">,
3434
MetaVarName<"<file>">,
3535
HelpText<"The fifo file used to communicate the with the debug adaptor "
3636
"when using --launch-target.">;
3737

38-
def debugger_pid: Separate<["--", "-"], "debugger-pid">,
38+
def debugger_pid: S<"debugger-pid">,
3939
MetaVarName<"<pid>">,
4040
HelpText<"The PID of the lldb-vscode instance that sent the launchInTerminal "
4141
"request when using --launch-target.">;

0 commit comments

Comments
 (0)