diff options
author | Mats Wichmann <mats@linux.com> | 2024-09-16 14:39:05 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2024-09-16 14:42:23 (GMT) |
commit | 23ccbabb3e14eab68de76eb020fde62d0ac28087 (patch) | |
tree | 2e376789ac2612f12cb1360688abb648f57b02ae /RELEASE.txt | |
parent | 5d453c2200bfd5085514916600f5780b1e7d5488 (diff) | |
download | SCons-23ccbabb3e14eab68de76eb020fde62d0ac28087.zip SCons-23ccbabb3e14eab68de76eb020fde62d0ac28087.tar.gz SCons-23ccbabb3e14eab68de76eb020fde62d0ac28087.tar.bz2 |
Fix short-option processing
Override the _process_short_opts method from optparse so it behaves
better. This fix is lifted directly from #3799, leaving an additional
part to apply later.
Fixes #3798
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'RELEASE.txt')
-rw-r--r-- | RELEASE.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/RELEASE.txt b/RELEASE.txt index c65e830..d86b342 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -43,6 +43,11 @@ FIXES it always produced True in this case). - Temporary files created by TempFileMunge() are now cleaned up on scons exit, instead of at the time they're used. Fixes #4595. +- AddOption now correctly adds short (single-character) options. + Previously an added short option would always report as unknown, + while long option names for the same option worked. Short options + that take a value require the user to specify the value immediately + following the option, with no spaces (e.g. -j5 and not -j 5). IMPROVEMENTS ------------ |