Przeglądaj źródła

Merge topic 'cpack-trace-argument' into release-3.25

b5ebaa0d9c CPack: Require no argument for --trace and --trace-expand

Acked-by: Kitware Robot <[email protected]>
Merge-request: !7824
Brad King 3 lat temu
rodzic
commit
f6034c5f6f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      Source/CPack/cpack.cxx

+ 2 - 2
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) },