commit | 87097234900636ba2c93f13ed4f8909fa7580b7d | [log] [tgz] |
---|---|---|
author | Caroline Tice <ctice@apple.com> | Tue Sep 07 18:35:40 2010 +0000 |
committer | Caroline Tice <ctice@apple.com> | Tue Sep 07 18:35:40 2010 +0000 |
tree | f749d4eb655a36e9edce38307460018f82d1bcbf | |
parent | 072a32a01648449d446f54c1a198337bca779f0d [diff] [blame] |
Fix various minor bugs in the Settings stuff. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113245 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectSettings.cpp b/source/Commands/CommandObjectSettings.cpp index a4a3643..ff06172 100644 --- a/source/Commands/CommandObjectSettings.cpp +++ b/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);