LLDB rejects arguments properties with a dash when using `settings set`
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
```
(lldb) settings set target.run-args -foo bar
˄˜˜˜
╰─ error: unknown or ambiguous option
(lldb) settings set target.run-args "-foo"
˄˜˜˜
╰─ error: unknown or ambiguous option
```
Contributor guide
Research direction
Reproduce the two `settings set target.run-args` commands shown in the issue and inspect LLDB's command parsing for settings values beginning with a dash. Trace how `target.run-args` arguments are parsed, then verify that both quoted and unquoted dash-prefixed values are accepted without the unknown-or-ambiguous-option error.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100