diff options
author | Caroline Tice <ctice@apple.com> | 2010-09-07 18:35:40 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2010-09-07 18:35:40 +0000 |
commit | 49e2737eb482affe4ef15f9972950d4e266037ee (patch) | |
tree | 80d3a27004cfbf39aa911145b228db96be2fea36 /lldb/source/Commands/CommandObjectSettings.cpp | |
parent | 41cb55a916dd275f1f7c33d8cde31bbf90ae84d9 (diff) | |
download | bcm5719-llvm-49e2737eb482affe4ef15f9972950d4e266037ee.tar.gz bcm5719-llvm-49e2737eb482affe4ef15f9972950d4e266037ee.zip |
Fix various minor bugs in the Settings stuff.
llvm-svn: 113245
Diffstat (limited to 'lldb/source/Commands/CommandObjectSettings.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp index a4a3643d7bf..ff06172c5eb 100644 --- a/lldb/source/Commands/CommandObjectSettings.cpp +++ b/lldb/source/Commands/CommandObjectSettings.cpp @@ -82,7 +82,7 @@ CommandObjectSettingsSet::Execute (CommandInterpreter &interpreter, const int argc = command.GetArgumentCount (); - if (argc < 2) + if ((argc < 2) && (!m_options.m_reset)) { result.AppendError ("'settings set' takes more arguments"); result.SetStatus (eReturnStatusFailed); |