[Scons-users] custom Help Text

Paweł Tomulik ptomulik at meil.pw.edu.pl
Mon Jan 4 15:40:41 EST 2016


W dniu 30.12.2015 o 23:32, Stefan Seefeld pisze:
> Hello,
> 
> I'm customizing the help text printed with `scons -h` using the Help()
> function, adding help for 'Variables'. I'm wondering whether there is a
> way to include the help texts from (custom) options, too, i.e. all those
> 'AddOption()' calls.
> 
> Thanks,
>         Stefan
> 

If you mean, that SCons overrites options' help with the one generated
by Help(), then my workaround for this is to create boolean option named
--help-variables, and use it to enable Help() conditionally.

It's just a "trick", I have no answer to question if you can have both
though.

Best Regards!

-- 
Pawel Tomulik


More information about the Scons-users mailing list