Browse Source

Merge topic 'help-options'

b5b36f95f9 Help: Add clarifying text for some help options

Acked-by: Kitware Robot <[email protected]>
Acked-by: buildbot <[email protected]>
Merge-request: !9706
Brad King 1 year ago
parent
commit
72f2ef297b
1 changed files with 7 additions and 3 deletions
  1. 7 3
      Source/cmakemain.cxx

+ 7 - 3
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." },