Browse Source

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

git-svn-id: trunk@16033 -
joost 15 years ago
parent
commit
b9b0eb1152
1 changed files with 5 additions and 2 deletions
  1. 5 2
      utils/fppkg/fppkg.pp

+ 5 - 2
utils/fppkg/fppkg.pp

@@ -315,8 +315,11 @@ begin
           ShowUsage;
           ShowUsage;
           halt(0);
           halt(0);
         end
         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
       else
       // It's a command or target.
       // It's a command or target.
         begin
         begin