Explorar o código

cmake: Print --workflow option in --help output

This was missed in commit 374d82bbcd (cmake: Add --workflow mode,
2022-09-16, v3.25.0-rc1~76^2).
Brad King hai 1 ano
pai
achega
973bb02b14
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Source/cmakemain.cxx

+ 2 - 1
Source/cmakemain.cxx

@@ -68,9 +68,10 @@ const cmDocumentationEntry cmDocumentationUsageNote = {
   "Run 'cmake --help' for more information."
   "Run 'cmake --help' for more information."
 };
 };
 
 
-const cmDocumentationEntry cmDocumentationOptions[31] = {
+const cmDocumentationEntry cmDocumentationOptions[32] = {
   { "--preset <preset>,--preset=<preset>", "Specify a configure preset." },
   { "--preset <preset>,--preset=<preset>", "Specify a configure preset." },
   { "--list-presets[=<type>]", "List available presets." },
   { "--list-presets[=<type>]", "List available presets." },
+  { "--workflow [<options>]", "Run a workflow preset." },
   { "-E", "CMake command mode." },
   { "-E", "CMake command mode." },
   { "-L[A][H]", "List non-advanced cached variables." },
   { "-L[A][H]", "List non-advanced cached variables." },
   { "--fresh",
   { "--fresh",