mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 20:30:53 +02:00
* Hopefully finally fixed the --options option after r16007,r16016
git-svn-id: trunk@16033 -
This commit is contained in:
parent
a2415854b4
commit
b9b0eb1152
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user