* Hopefully finally fixed the --options option after r16007,r16016

git-svn-id: trunk@16033 -
This commit is contained in:
joost 2010-09-20 21:33:36 +00:00
parent a2415854b4
commit b9b0eb1152

View File

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