From d4f2c59d8c0eac48eecff72a068b0a9b53ddab58 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 21 Feb 2025 12:43:20 -0600 Subject: [PATCH] [lldb] Document behavior in process launch help Update the help for `process launch` to say that with no arguments, it will reuse the run-args from target.run-args. rdar://139768013 --- lldb/source/Commands/CommandObjectProcess.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 7444e46aa729e..654dfa83ea444 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -118,8 +118,9 @@ class CommandObjectProcessLaunch : public CommandObjectProcessLaunchOrAttach { CommandObjectProcessLaunch(CommandInterpreter &interpreter) : CommandObjectProcessLaunchOrAttach( interpreter, "process launch", - "Launch the executable in the debugger.", nullptr, - eCommandRequiresTarget, "restart"), + "Launch the executable in the debugger. If no run-args are " + "specified, the arguments from target.run-args are used.", + nullptr, eCommandRequiresTarget, "restart"), m_class_options("scripted process", true, 'C', 'k', 'v', 0) { m_all_options.Append(&m_options);