Fix various minor bugs in the Settings stuff.
llvm-svn: 113245
diff --git a/lldb/source/Commands/CommandObjectSettings.cpp b/lldb/source/Commands/CommandObjectSettings.cpp
index a4a3643..ff06172 100644
--- a/lldb/source/Commands/CommandObjectSettings.cpp
+++ b/lldb/source/Commands/CommandObjectSettings.cpp
@@ -82,7 +82,7 @@
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);