From ff4614177b7c7763504322fa536e419788c756d8 Mon Sep 17 00:00:00 2001 From: joost Date: Sun, 19 Sep 2010 20:06:37 +0000 Subject: [PATCH] * Fixed exception while parsing the -o option for the second time git-svn-id: trunk@16016 - --- utils/fppkg/fppkg.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/fppkg/fppkg.pp b/utils/fppkg/fppkg.pp index fa755c0979..51b9631141 100644 --- a/utils/fppkg/fppkg.pp +++ b/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.