You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally created at: 2012-04-11 05:09:59.
This issue was reported by: mortoray.
mortoray said at 2012-04-11 05:09:59
The AddOption functionality includes help text which will be shown if you use '-h'. However, if you also use Variables help the option text will be lost -- if you use Help(vars.generateHelpText(env)).
There appears to be no clear way to generate the options help text so it can't simply be appended to the variables help text.
The -H option also fails to show the options help text.
Essentially you can't combine options and variables and have a working help text.
mortoray said at 2012-04-30 11:28:38
Essentially duplicate of #2258
dirkbaechle said at 2014-02-08 08:29:48
*** Issue 2258 has been marked as a duplicate of this issue. ***
billcroberts said at 2015-03-17 14:56:34
Test SConstruct to reproduce bug:
AddOption(
"--debugging",
dest="debugging",
action="store_true",
default=False,
metavar="BDEBUGGING",
help="Compile with debugging symbols",
)
vars=Variables()
vars.Add(ListVariable("buildmod", "List of modules to build", "none", ["python"]))
env=Environment()
# Comment me out for different help outputsHelp(vars.GenerateHelpText(env))
bdbaddog said at 2015-09-29 08:57:08
Fixed with commit ef05fbf9b1bf.
Should be released with SCons 2.4.1
dirkbaechle said this issue is duplicated by #2258 at 2014-02-08 08:29:48.
The text was updated successfully, but these errors were encountered:
This issue was originally created at: 2012-04-11 05:09:59.
This issue was reported by:
mortoray
.mortoray said at 2012-04-11 05:09:59
mortoray said at 2012-04-30 11:28:38
dirkbaechle said at 2014-02-08 08:29:48
billcroberts said at 2015-03-17 14:56:34
bdbaddog said at 2015-09-29 08:57:08
dirkbaechle said this issue is duplicated by #2258 at 2014-02-08 08:29:48.
The text was updated successfully, but these errors were encountered: