diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-10-25 13:57:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-25 14:11:20 (GMT) |
commit | b5ebaa0d9c3de0439fb79909fdd8af1d0fccb608 (patch) | |
tree | 934e049f7b42c825a9443f1ab7d21912aef39634 | |
parent | b6ddcbc7ecdf51f207339f34f266ca40c3b51982 (diff) | |
download | CMake-b5ebaa0d9c3de0439fb79909fdd8af1d0fccb608.zip CMake-b5ebaa0d9c3de0439fb79909fdd8af1d0fccb608.tar.gz CMake-b5ebaa0d9c3de0439fb79909fdd8af1d0fccb608.tar.bz2 |
CPack: Require no argument for --trace and --trace-expand
This was accidentally broken by commit 87c762d435 (CPack: Use
cmCommandLineArgument instead of cmsys::CommandLineArguments,
2022-04-18, v3.24.0-rc1~258^2).
Fixes: #24085
-rw-r--r-- | Source/CPack/cpack.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 221f7dd..1650368 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -165,8 +165,8 @@ int main(int argc, char const* const* argv) CommandArgument{ "--debug", CommandArgument::Values::Zero, debugLambda }, CommandArgument{ "--config", CommandArgument::Values::One, CommandArgument::setToValue(cpackConfigFile) }, - CommandArgument{ "--trace", CommandArgument::Values::One, traceLambda }, - CommandArgument{ "--trace-expand", CommandArgument::Values::One, + CommandArgument{ "--trace", CommandArgument::Values::Zero, traceLambda }, + CommandArgument{ "--trace-expand", CommandArgument::Values::Zero, traceExpandLambda }, CommandArgument{ "-C", CommandArgument::Values::One, CommandArgument::setToValue(cpackBuildConfig) }, |