* add previously missing support for proper handling of -? from the fpc binary

git-svn-id: trunk@20695 -
This commit is contained in:
Tomas Hajny 2012-04-02 22:24:01 +00:00
parent b12c38984b
commit 2a57a6a307

View File

@ -234,6 +234,8 @@ program fpc;
begin
if pos('-h',s)=1 then
ppccommandline[ppccommandlinelen] := '-hF' + ParamStr (0)
else if pos('-?',s)=1 then
ppccommandline[ppccommandlinelen] := '-?F' + ParamStr (0)
else
ppccommandline[ppccommandlinelen]:=s;
inc(ppccommandlinelen);