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 /src | |
parent | 3359572ab98baf9f408c7e86ad0d2df9a50594a4 (diff) | |
download | SCons-898fa44b70ce4998801db843dbe5b263f4d34a18.zip SCons-898fa44b70ce4998801db843dbe5b263f4d34a18.tar.gz SCons-898fa44b70ce4998801db843dbe5b263f4d34a18.tar.bz2 |
Added help for pull request #226
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Script/SConscript.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/engine/SCons/Script/SConscript.xml b/src/engine/SCons/Script/SConscript.xml index c74ad5e..8553fbe 100644 --- a/src/engine/SCons/Script/SConscript.xml +++ b/src/engine/SCons/Script/SConscript.xml @@ -240,7 +240,7 @@ file is found. <scons_function name="Help"> <arguments> -(text) +(text, append=False) </arguments> <summary> <para> @@ -248,12 +248,18 @@ This specifies help text to be printed if the <option>-h</option> argument is given to &scons;. -If +If &f-Help; -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 &f-Help; -is called. +is called. With append set to False, any +&f-Help; +text generated with +&f-AddOption; +is clobbered. If append is True, the AddOption help is prepended to the help +string, thus preserving the +<option>-h</option> +message. </para> </summary> </scons_function> |