diff options
| author | William Roberts <bill.c.roberts@gmail.com> | 2015-03-17 21:26:53 (GMT) |
|---|---|---|
| committer | William Roberts <bill.c.roberts@gmail.com> | 2015-03-17 21:26:53 (GMT) |
| commit | 7e15cea215477c4eb495be1e8459e7eacd02b235 (patch) | |
| tree | 027da5593a1558eccd324a75597c272990632297 /src/engine/SCons/Script/Main.py | |
| parent | b6c7bd73535753a45dec87e8bb3b8584443d40dd (diff) | |
| download | SCons-7e15cea215477c4eb495be1e8459e7eacd02b235.zip SCons-7e15cea215477c4eb495be1e8459e7eacd02b235.tar.gz SCons-7e15cea215477c4eb495be1e8459e7eacd02b235.tar.bz2 | |
bug 2831: Allow appending Help text to Options Output
http://scons.tigris.org/issues/show_bug.cgi?id=2831
In order to append, rather than clobber Help() generated
text, use Help("my message", append=True)
The append argument is only respected on the first call to this
method as it operates on global data.
Diffstat (limited to 'src/engine/SCons/Script/Main.py')
| -rw-r--r-- | src/engine/SCons/Script/Main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py index c7a9d27..4ccd2b3 100644 --- a/src/engine/SCons/Script/Main.py +++ b/src/engine/SCons/Script/Main.py @@ -484,6 +484,9 @@ def GetOption(name): def SetOption(name, value): return OptionsParser.values.set_option(name, value) +def PrintHelp(file=None): + OptionsParser.print_help(file=file) + # class Stats(object): def __init__(self): |
