Skip to content

Commit 0ebc1ab

Browse files
committed
[lldb] Document <run-args> behavior in process launch help (llvm#128215)
(cherry picked from commit ae28a37)
1 parent 85f1a67 commit 0ebc1ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lldb/source/Commands/CommandObjectProcess.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@ class CommandObjectProcessLaunch : public CommandObjectProcessLaunchOrAttach {
117117
CommandObjectProcessLaunch(CommandInterpreter &interpreter)
118118
: CommandObjectProcessLaunchOrAttach(
119119
interpreter, "process launch",
120-
"Launch the executable in the debugger.", nullptr,
121-
eCommandRequiresTarget, "restart"),
120+
"Launch the executable in the debugger. If no run-args are "
121+
"specified, the arguments from target.run-args are used.",
122+
nullptr, eCommandRequiresTarget, "restart"),
122123

123124
m_class_options("scripted process", true, 'C', 'k', 'v', 0) {
124125
m_all_options.Append(&m_options);

0 commit comments

Comments
 (0)