summaryrefslogtreecommitdiffstats
path: root/RELEASE.txt
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2024-08-31 14:24:44 (GMT)
committerMats Wichmann <mats@linux.com>2024-09-04 11:22:56 (GMT)
commitafd59b1f66ffeb53d86a361d2622a1fe50cfbdc9 (patch)
tree48794ddcfbc4889f302f6f48e6a034cd8b4ae416 /RELEASE.txt
parentb2a103bff8787f9de51af975eae5e57347cdac80 (diff)
downloadSCons-afd59b1f66ffeb53d86a361d2622a1fe50cfbdc9.zip
SCons-afd59b1f66ffeb53d86a361d2622a1fe50cfbdc9.tar.gz
SCons-afd59b1f66ffeb53d86a361d2622a1fe50cfbdc9.tar.bz2
PackageVariable now returns the default on "true"
In all doc versions until 4.8.0, PackageVariable had wording like: "The option will support the values yes, true, on, enable or search, in which case the specified default will be used", but the code didn't actually do that, it just returned True. With this change it now returns the default value, with a slight tweak - if the default is one of the spelled out enabling strigs, it returns the boolean True instead. The indication that the default is produced if a truthy string is given is restored to the manpage (it was never dropped from the User Guide). Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'RELEASE.txt')
-rw-r--r--RELEASE.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/RELEASE.txt b/RELEASE.txt
index 439c863..196103c 100644
--- a/RELEASE.txt
+++ b/RELEASE.txt
@@ -32,7 +32,10 @@ CHANGED/ENHANCED EXISTING FUNCTIONALITY
FIXES
-----
-- List fixes of outright bugs
+- PackageVariable now does what the documentation always said it does
+ if the variable is used on the command line with one of the enabling
+ string as the value: the variable's default value is produced (previously
+ it always produced True in this case).
IMPROVEMENTS
------------