[Lldb-commits] [lldb] [lldb] Fix settings set to accept values starting with dash (PR #176076)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 14 18:17:03 PST 2026
MkDev11 wrote:
Thank you for the detailed review @jimingham. You're right - I hadn't considered that `-e` and `-g` are valid `settings set` options, which would cause unexpected behavior.
I understand this is documented in the help text. Would you be open to an alternative approach - improving the error message when users hit this issue? For example, when an unknown option is encountered, the error could suggest: "If this is intended as a value, use `'--'` to separate options from arguments.
https://github.com/llvm/llvm-project/pull/176076
More information about the lldb-commits
mailing list