forked from OSchip/llvm-project
<rdar://problem/14266578>
"command source" was not properly setting the stop-on-error option llvm-svn: 184899
This commit is contained in:
parent
fb1d9fe15e
commit
15571f1571
|
@ -326,9 +326,7 @@ protected:
|
|||
switch (short_option)
|
||||
{
|
||||
case 'e':
|
||||
m_stop_on_error.SetCurrentValue(Args::StringToBoolean(option_arg, true, &success));
|
||||
if (!success)
|
||||
error.SetErrorStringWithFormat("invalid value for stop-on-error: %s", option_arg);
|
||||
error = m_stop_on_error.SetValueFromCString(option_arg);
|
||||
break;
|
||||
case 'c':
|
||||
m_stop_on_continue = Args::StringToBoolean(option_arg, true, &success);
|
||||
|
|
Loading…
Reference in New Issue