[Lldb-commits] [lldb] 40653b6 - [lldb] Fix --persistent-result description (#68128)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 3 16:21:55 PDT 2023


Author: Dave Lee
Date: 2023-10-03T16:21:52-07:00
New Revision: 40653b6d6682777f2874eddfb62876cfe5091a6d

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

LOG: [lldb] Fix --persistent-result description (#68128)

The default is not static, it depends on context. For `expression`, the
default is true, but for `dwim-print`, the default is false.

rdar://116320377

Added: 
    

Modified: 
    lldb/source/Commands/Options.td

Removed: 
    


################################################################################
diff  --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td
index 04830b8b990efae..cfdeaabfa007743 100644
--- a/lldb/source/Commands/Options.td
+++ b/lldb/source/Commands/Options.td
@@ -390,7 +390,7 @@ let Command = "expression" in {
     Arg<"Boolean">,
     Desc<"Persist expression result in a variable for subsequent use. "
     "Expression results will be labeled with $-prefixed variables, e.g. $0, "
-    "$1, etc. Defaults to true.">;
+    "$1, etc.">;
 }
 
 let Command = "frame diag" in {


        


More information about the lldb-commits mailing list