diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-09-28 20:57:59 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-09-28 20:57:59 (GMT) |
commit | 898fa44b70ce4998801db843dbe5b263f4d34a18 (patch) | |
tree | 992bf7275932e5d91280d5fd0e1376e6f2f92520 /doc/generated/functions.gen | |
parent | 3359572ab98baf9f408c7e86ad0d2df9a50594a4 (diff) | |
download | SCons-898fa44b70ce4998801db843dbe5b263f4d34a18.zip SCons-898fa44b70ce4998801db843dbe5b263f4d34a18.tar.gz SCons-898fa44b70ce4998801db843dbe5b263f4d34a18.tar.bz2 |
Added help for pull request #226
Diffstat (limited to 'doc/generated/functions.gen')
-rw-r--r-- | doc/generated/functions.gen | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/generated/functions.gen b/doc/generated/functions.gen index 3ad36e5..e80c1c9 100644 --- a/doc/generated/functions.gen +++ b/doc/generated/functions.gen @@ -2565,10 +2565,10 @@ sources = Glob('*.cpp', exclude=['os_*_specific_*.cpp']) + Glob('os_%s_specific_ </varlistentry> <varlistentry id="f-Help"> <term> - <literal>Help(text)</literal> + <literal>Help(text, append=False)</literal> </term> <term> - <literal>env.Help(text)</literal> + <literal>env.Help(text, append=False)</literal> </term> <listitem> <para xmlns="http://www.scons.org/dbxsd/v1.0"> @@ -2576,12 +2576,18 @@ This specifies help text to be printed if the <option>-h</option> argument is given to <filename xmlns="http://www.scons.org/dbxsd/v1.0">scons</filename>. -If +If <function xmlns="http://www.scons.org/dbxsd/v1.0">Help</function> -is called multiple times, the text is appended together in the order -that +is called multiple times, the text is appended together in the order that <function xmlns="http://www.scons.org/dbxsd/v1.0">Help</function> -is called. +is called. With append set to False, any +<function xmlns="http://www.scons.org/dbxsd/v1.0">Help</function> +text generated with +<function xmlns="http://www.scons.org/dbxsd/v1.0">AddOption</function> +is clobbered. If append is True, the AddOption help is prepended to the help +string, thus preserving the +<option>-h</option> +message. </para> </listitem> </varlistentry> |