* Fixed exception while parsing the -o option for the second time

git-svn-id: trunk@16016 -
This commit is contained in:
joost 2010-09-19 20:06:37 +00:00
parent ed985423ac
commit ff4614177b

View File

@ -315,7 +315,7 @@ begin
ShowUsage;
halt(0);
end
else if (Length(Paramstr(i))>0) and (Paramstr(I)[1]='-') then
else if (Length(Paramstr(i))>0) and (Paramstr(I)[1]='-') and FirstPass then
Raise EMakeToolError.CreateFmt(SErrInvalidArgument,[I,ParamStr(i)])
else
// It's a command or target.