[Lldb-commits] [lldb] r113714 - /lldb/trunk/source/Interpreter/Args.cpp
Caroline Tice
ctice at apple.com
Sat Sep 11 21:48:45 PDT 2010
Author: ctice
Date: Sat Sep 11 23:48:45 2010
New Revision: 113714
URL: http://llvm.org/viewvc/llvm-project?rev=113714&view=rev
Log:
Add missing result.SetStatus, to allow aliases to be created with
missing arguments for some of the command options.
Modified:
lldb/trunk/source/Interpreter/Args.cpp
Modified: lldb/trunk/source/Interpreter/Args.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/Args.cpp?rev=113714&r1=113713&r2=113714&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/Args.cpp (original)
+++ lldb/trunk/source/Interpreter/Args.cpp Sat Sep 11 23:48:45 2010
@@ -893,6 +893,7 @@
{
case no_argument:
option_arg_vector->push_back (OptionArgPair (std::string (option_str.GetData()), "<no-argument>"));
+ result.SetStatus (eReturnStatusSuccessFinishNoResult);
break;
case required_argument:
if (optarg != NULL)
More information about the lldb-commits
mailing list