mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
ctest: Restore handling of -U and --union with no value
Refactoring in commit c0c4d48ba2 (cmCTest: Use cmCommandLineArgument
command-line parsing infrastructure, 2024-10-12, v4.0.0-rc1~646^2)
accidentally made `-U` and `--union` require an argument, but the
documentation states that no argument is required.
Closes: #28243
This commit is contained in:
1 parent
c52f37782d
commit
b150e8757c
1 file changed
+2
-2
+2
-2
@@ -2445,8 +2445,8 @@ int cmCTest::Run(std::vector<std::string> const& args)
|
||||
CommandArgument{ "-I", CommandArgument::Values::One, dashI },
|
||||
CommandArgument{ "--tests-information", CommandArgument::Values::One,
|
||||
dashI },
|
||||
CommandArgument{ "-U", CommandArgument::Values::One, dashU },
|
||||
CommandArgument{ "--union", CommandArgument::Values::One, dashU },
|
||||
CommandArgument{ "-U", CommandArgument::Values::Zero, dashU },
|
||||
CommandArgument{ "--union", CommandArgument::Values::Zero, dashU },
|
||||
CommandArgument{ "-R", CommandArgument::Values::One, dashR },
|
||||
CommandArgument{ "--tests-regex", CommandArgument::Values::One, dashR },
|
||||
CommandArgument{ "-E", CommandArgument::Values::One, dashE },
|
||||
|
||||
Reference in new issue
Block a user