Help: Add clarifying text for some help options

Fixes: #26193
This commit is contained in:
Martin Duffy 2024-08-07 09:58:02 -04:00
parent f774a5ab5c
commit b5b36f95f9

View File

@ -75,13 +75,17 @@ const cmDocumentationEntry cmDocumentationOptions[33] = {
{ "--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." }, { "--workflow [<options>]", "Run a workflow preset." },
{ "-E", "CMake command mode." }, { "-E", "CMake command mode. Run \"cmake -E\" for a summary of commands." },
{ "-L[A][H]", "List non-advanced cached variables." }, { "-L[A][H]", "List non-advanced cached variables." },
{ "-LR[A][H] <regex>", "Show cached variables that match the regex." }, { "-LR[A][H] <regex>", "Show cached variables that match the regex." },
{ "--fresh", { "--fresh",
"Configure a fresh build tree, removing any existing cache file." }, "Configure a fresh build tree, removing any existing cache file." },
{ "--build <dir>", "Build a CMake-generated project binary tree." }, { "--build <dir>",
{ "--install <dir>", "Install a CMake-generated project binary tree." }, "Build a CMake-generated project binary tree. Run \"cmake --build\" to "
"see compatible options and a quick help." },
{ "--install <dir>",
"Install a CMake-generated project binary tree. Run \"cmake --install\" "
"to see compatible options and a quick help." },
{ "--open <dir>", "Open generated project in the associated application." }, { "--open <dir>", "Open generated project in the associated application." },
{ "-N", "View mode only." }, { "-N", "View mode only." },
{ "-P <file>", "Process script mode." }, { "-P <file>", "Process script mode." },