On 13 Nov 14, at 0:20, Juha Manninen wrote: > On Wed, Nov 12, 2014 at 11:32 PM, Dmitry Boyarintsev > <skalogryz.li...@gmail.com> wrote: > > Is there an exclusion for "-P" option in the parser? > > After all the flag make sense for "fpc" but not "ppcXXX". > > No but IMO it should be excluded from the user choices. > The parser calls the compiler with '-T$(TargetOS) -P$(TargetCPU)'; > See function TCompilerOptReader.UpdateTargetParam: Boolean;
Ah, you meant "Lazarus parser of FPC help" rather than "FPC command line parser". Note that '-P' (or any other "fpc" specific options) are not listed if calling 'ppcXXX -h' rather than 'fpc -h'. Tomas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel