Re: [Doxygen-develop] Problem with default values
Brought to you by:
dimitri
|
From: Doxygen <do...@gm...> - 2013-06-03 20:51:55
|
Hi Robert,
On 3 jun. 2013, at 22:33, Robert Dailey <rcd...@gm...> wrote:
> Hi,
>
> I'm adding some new config options to Doxygen. Here is my code:
>
>
> cs = cfg->addString(
> "WARN_STRING",
> "The string that is prefixed to each warning that
> will be printed."
> );
> cs->setDefaultValue("Warning: ");
Please add new options to config.xml not to configoptions.cpp which is generated from it.
>
> Notice I have a trailing space after the colon for the default value.
> I noticed that after ConfigString::substEnvVars() is called, this
> space is removed. I'd like to be able to keep the spaces in the
> default value. How can I do this?
I guess we should fix substEnvVars not to strip the space...
Regards,
Dimitri
|