summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectCommands.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp
index 49fc0222bbd..b3a974b538e 100644
--- a/lldb/source/Commands/CommandObjectCommands.cpp
+++ b/lldb/source/Commands/CommandObjectCommands.cpp
@@ -69,8 +69,6 @@ private:
void
ResetOptionValues ()
{
- Options::ResetOptionValues();
-
m_stop_on_error = true;
m_stop_on_continue = true;
}
@@ -358,7 +356,7 @@ public:
if (options)
{
// See if any options were specified as part of the alias; if so, handle them appropriately
- options->ResetOptionValues ();
+ options->Reset ();
Args tmp_args (raw_command_string.c_str());
args.Unshift ("dummy_arg");
args.ParseAliasOptions (*options, result, option_arg_vector, raw_command_string);
@@ -489,7 +487,7 @@ public:
options = sub_cmd_obj->GetOptions();
else
options = cmd_obj->GetOptions();
- options->ResetOptionValues ();
+ options->Reset ();
std::string empty_string;
args.Unshift ("dummy_arg");
args.ParseAliasOptions (*options, result, option_arg_vector, empty_string);
OpenPOWER on IntegriCloud