From b5b36f95f9d179f11aaa2d7059d6f4798b00bafb Mon Sep 17 00:00:00 2001 From: Martin Duffy Date: Wed, 7 Aug 2024 09:58:02 -0400 Subject: Help: Add clarifying text for some help options Fixes: #26193 --- Source/cmakemain.cxx | 10 +++++++--- 1 file 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=", "Specify a configure preset." }, { "--list-presets[=]", "List available presets." }, { "--workflow []", "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] ", "Show cached variables that match the regex." }, { "--fresh", "Configure a fresh build tree, removing any existing cache file." }, - { "--build ", "Build a CMake-generated project binary tree." }, - { "--install ", "Install a CMake-generated project binary tree." }, + { "--build ", + "Build a CMake-generated project binary tree. Run \"cmake --build\" to " + "see compatible options and a quick help." }, + { "--install ", + "Install a CMake-generated project binary tree. Run \"cmake --install\" " + "to see compatible options and a quick help." }, { "--open ", "Open generated project in the associated application." }, { "-N", "View mode only." }, { "-P ", "Process script mode." }, -- cgit v0.12