git-svn-id: trunk@16016 -
@@ -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.