summaryrefslogtreecommitdiffstats
path: root/.hooks-config
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2022-08-17 15:03:51 (GMT)
committerMatthew Woehlke <matthew.woehlke@kitware.com>2022-08-17 15:03:51 (GMT)
commitf2ef60ca547df10eb7e9b3ecf712ad2246d9c008 (patch)
treeca87c3bf28904355412f154b27ae4385cc4399fd /.hooks-config
parent5b949bbb9114379120c29134b5effd77e39dd134 (diff)
downloadCMake-f2ef60ca547df10eb7e9b3ecf712ad2246d9c008.zip
CMake-f2ef60ca547df10eb7e9b3ecf712ad2246d9c008.tar.gz
CMake-f2ef60ca547df10eb7e9b3ecf712ad2246d9c008.tar.bz2
cmArgumentParser: Ignore positional after keyword
Tweak cmArgumentParser to ignore positional arguments once a keyword argument has been seen. This prevents mingling of keyword arguments being able to effectively skip positional arguments, with later arguments being picked up again; this seems highly likely to lead to user confusion. This is also consistent with how other languages (e.g. Python) handle a mix of "named" and positional arguments.
Diffstat (limited to '.hooks-config')
0 files changed, 0 insertions, 0 deletions