[Bug 17502] New: settings set target.run-args cannot set no argument

Bug ID 17502
Summary settings set target.run-args cannot set no argument
Product lldb
Version unspecified
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter yin@affinic.com
Classification Unclassified

On gdb, if we run
Set args
This means no argument
However, under lldb
Settings set target.run-args
It will report an error

Is this a good behavior?

In LLDB, you would say 
(lldb) sett set target.run-args ""

Since our settings set command is meant to set any kind of setting, it makes
sense that we ask for an argument. If we were to allow setting set <foo> <end
of command>, we would probably need a way to know which is the “default value”
for any specific setting. Feel free to file an ER bugzilla for that too

Thanks,

Yin