summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-27 13:28:41 +0000
committerKitware Robot <kwrobot@kitware.com>2022-10-27 09:29:12 -0400
commitf6034c5f6f53e009060a757080666ecf8fe6437d (patch)
tree3a1df183eaba5b759dbe68c4b5ab6e9265fbeded /Source
parentfdabb69e2e6e7046b83bd3de4e2e3e591a5d905d (diff)
parentb5ebaa0d9c3de0439fb79909fdd8af1d0fccb608 (diff)
downloadcmake-f6034c5f6f53e009060a757080666ecf8fe6437d.tar.gz
Merge topic 'cpack-trace-argument' into release-3.25
b5ebaa0d9c CPack: Require no argument for --trace and --trace-expand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7824
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cpack.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index 631bfd9974..f06946bea4 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -173,8 +173,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) },