diff options
author | Martin Duffy <martin.duffy@kitware.com> | 2024-08-07 13:58:02 (GMT) |
---|---|---|
committer | Martin Duffy <martin.duffy@kitware.com> | 2024-08-15 13:12:26 (GMT) |
commit | b5b36f95f9d179f11aaa2d7059d6f4798b00bafb (patch) | |
tree | f4b0411d3d7f255a4c2642613910001b04be17f7 /Source | |
parent | f774a5ab5c6c3259724da4edfe3c62631b19ca1c (diff) | |
download | CMake-b5b36f95f9d179f11aaa2d7059d6f4798b00bafb.zip CMake-b5b36f95f9d179f11aaa2d7059d6f4798b00bafb.tar.gz CMake-b5b36f95f9d179f11aaa2d7059d6f4798b00bafb.tar.bz2 |
Help: Add clarifying text for some help options
Fixes: #26193
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmakemain.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index 69b5a16..6b96898 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -75,13 +75,17 @@ const cmDocumentationEntry cmDocumentationOptions[33] = { { "--preset <preset>,--preset=<preset>", "Specify a configure preset." }, { "--list-presets[=<type>]", "List available presets." }, { "--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." }, { "-LR[A][H] <regex>", "Show cached variables that match the regex." }, { "--fresh", "Configure a fresh build tree, removing any existing cache file." }, - { "--build <dir>", "Build a CMake-generated project binary tree." }, - { "--install <dir>", "Install a CMake-generated project binary tree." }, + { "--build <dir>", + "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." }, { "-N", "View mode only." }, { "-P <file>", "Process script mode." }, |