presets: Fix command help for --presets-file

Amends commit 95edd93948 (presets: Support loading from arbitrary file,
2026-03-18).
This commit is contained in:
Tyler Yankee committed 2026-05-19 11:49:26 -04:00
1 parent 485b155cb9
commit e16767d962
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1049,7 +1049,7 @@ int do_workflow(int ac, char const* const* av)
"Usage: cmake --workflow <options>\n"
"Options:\n"
" --preset <preset> = Workflow preset to execute.\n"
" --presets-file <file> = Path to a presets file.\n"
" --presets-file <file> = Path to a presets file.\n"
" --list-presets = List available workflow presets.\n"
" --fresh = Configure a fresh build tree, removing any "
"existing cache file.\n"
+2
View File
@@ -29,6 +29,8 @@ cmDocumentationEntry const cmDocumentationUsage = { {}, " ctest [options]" };
cmDocumentationEntry const cmDocumentationOptions[] = {
{ "--preset <preset>, --preset=<preset>",
"Read arguments from a test preset." },
{ "--presets-file <file>, --presets-file=<file>",
"Load test presets from the given file." },
{ "--list-presets", "List available test presets." },
{ "-C <cfg>, --build-config <cfg>", "Choose configuration to test." },
{ "--progress", "Enable short progress output from tests." },
@@ -2,6 +2,6 @@
Usage: cmake --workflow <options>
Options:
--preset <preset> = Workflow preset to execute\.
--presets-file <file> = Path to a presets file\.
--presets-file <file> = Path to a presets file\.
--list-presets = List available workflow presets\.
--fresh = Configure a fresh build tree, removing any existing cache file\.$