Browse Source

* Fixed exception while parsing the -o option for the second time

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

+ 1 - 1
utils/fppkg/fppkg.pp

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