$ scons --debug=includes foo.o
.EE
-.TP
--e, --environment-overrides
-Variables from the execution environment override construction
-variables from the SConscript files.
+.\" .TP
+.\" -e, --environment-overrides
+.\" Variables from the execution environment override construction
+.\" variables from the SConscript files.
.TP
.RI -f " file" ", --file=" file ", --makefile=" file ", --sconstruct=" file
- Supply an error message if the user tries to configure a BuildDir
for a directory that already has one.
+ - Remove documentation of the still-unimplemented -e option.
+
+ - Add -H help text listing the legal --debug values.
+
RELEASE 0.94 - Fri, 07 Nov 2003 05:29:48 -0600
raise OptionValueError("Warning: %s is not a valid debug type" % value)
self.add_option('--debug', action="callback", type="string",
callback=opt_debug, nargs=1, dest="debug",
- help="Print various types of debugging information.")
+ metavar="TYPE",
+ help="Print various types of debugging information: "
+ "pdb, tree, dtree, time, or includes.")
self.add_option('-f', '--file', '--makefile', '--sconstruct',
action="append", nargs=1,
test.run(arguments = '-H')
test.fail_test(string.find(test.stdout(), '-H, --help-options') == -1)
+test.fail_test(string.find(test.stdout(), '--debug=TYPE') == -1)
test.pass_test()