aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lldb/source/Commands/Options.td:389
     "not supported by the interpreter (defaults to true).">;
+  def persistent_result : Option<"persistent-result", "\\x01">, Groups<[1,2]>,
+    Arg<"Boolean">,
----------------
kastiglione wrote:
> aprantl wrote:
> > Is that the approved way of doing long options-only? What's printed in 
> > `help dwim-print` now?
> We don't have many long option-only flags, and those few others do it this 
> way. If I recall, Jonas was the first to use this approach.
> 
> The relevant portion of `help dwim-print` (or `help expression`) is:
> 
> > --persistent-result <boolean>
> >     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.
> 
Okay, thanks for checking!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144230/new/

https://reviews.llvm.org/D144230

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to