summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-27 13:28:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-10-27 13:29:13 (GMT)
commit12ca3c14a56710db626163835224001388e58a7e (patch)
tree9a5681815c9af3711217a39bd71ef067c190a662 /Source/CPack
parentee085de7889b6bb72457b13a9e3ad918a2e73350 (diff)
parentb5ebaa0d9c3de0439fb79909fdd8af1d0fccb608 (diff)
downloadCMake-12ca3c14a56710db626163835224001388e58a7e.zip
CMake-12ca3c14a56710db626163835224001388e58a7e.tar.gz
CMake-12ca3c14a56710db626163835224001388e58a7e.tar.bz2
Merge topic 'cpack-trace-argument'
b5ebaa0d9c CPack: Require no argument for --trace and --trace-expand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7824
Diffstat (limited to 'Source/CPack')
-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 631bfd9..f06946b 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) },