[Lldb-commits] [lldb] ae28a37 - [lldb] Document <run-args> behavior in process launch help (#128215)

via lldb-commits lldb-commits at lists.llvm.org
Sat Feb 22 09:11:44 PST 2025


Author: Jonas Devlieghere
Date: 2025-02-22T11:11:40-06:00
New Revision: ae28a375d0d700ea73052828f5d7fbbb5f5159b2

URL: https://github.com/llvm/llvm-project/commit/ae28a375d0d700ea73052828f5d7fbbb5f5159b2
DIFF: https://github.com/llvm/llvm-project/commit/ae28a375d0d700ea73052828f5d7fbbb5f5159b2.diff

LOG: [lldb] Document <run-args> behavior in process launch help (#128215)

Added: 
    

Modified: 
    lldb/source/Commands/CommandObjectProcess.cpp

Removed: 
    


################################################################################
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);


        


More information about the lldb-commits mailing list