1. SCons
  2. Core
  3. SCons

Pull requests

#107 Declined
Repository
dirkbaechle
Branch
default
Repository
scons
Branch
default

Fix for the handling of long options in the command-line parsing (#2929)

Author
  1. dirkbaechle
Reviewers
Description

This patch should fix both described issues from #2929, since they're based on the same problem. The parsing mechanism of optparse allows for partial matching of long options, as long as the common prefix is unique. This conflicts with the way we internally call "parse_args" for updating values after an AddOption().

On my side the full testsuite passed successfully. The additional test longopt.py breaks without the patch, but passes afterwards.

Regards,

Dirk

  • Learn about pull requests

Comments (0)