[fpc-devel] fpdoc project options

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Dec 4 19:40:02 CET 2011


Graeme Geldenhuys schrieb:
> On 4 December 2011 20:09, Hans-Peter Diettrich  wrote:
>> Currently fpdoc stores many options in the project files, but this can cause
>> problems. Once a boolean option is stored as True, e.g.
>>  <option name="hide-protected" value="true"/>
>> it cannot be turned off by a different commandline option :-(
> 
> I know this might sound silly, but simply edit the project options
> file??  Wasn't that the whole point of the "lets implement a project
> file for fpdoc"?

When we want to distribute fpdoc project files instead of scripts, a 
user should not have to edit these files - after every SVN update :-(

It should be sufficient to specify preferences on the fpdoc commandline, 
which then should override whatever value was stored in the project 
file. This works for options with arguments, but not for options without 
arguments.

DoDi




More information about the fpc-devel mailing list