forked from OSchip/llvm-project
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:
parent
2bbc0266e0
commit
5172e6c35a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue