<rdar://problem/14266578>

"command source" was not properly setting the stop-on-error option



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184899 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectCommands.cpp b/source/Commands/CommandObjectCommands.cpp
index bbea085..2791139 100644
--- a/source/Commands/CommandObjectCommands.cpp
+++ b/source/Commands/CommandObjectCommands.cpp
@@ -326,9 +326,7 @@
             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);