Ver Fonte

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

git-svn-id: trunk@16033 -
joost há 15 anos atrás
pai
commit
b9b0eb1152
1 ficheiros alterados com 5 adições e 2 exclusões
  1. 5 2
      utils/fppkg/fppkg.pp

+ 5 - 2
utils/fppkg/fppkg.pp

@@ -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