Add missing result.SetStatus, to allow aliases to be created with

missing arguments for some of the command options.

llvm-svn: 113714
This commit is contained in:
Caroline Tice 2010-09-12 04:48:45 +00:00
parent 2bbc0266e0
commit 5172e6c35a
1 changed files with 1 additions and 0 deletions

View File

@ -893,6 +893,7 @@ Args::ParseAliasOptions
{
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)