From d289d720cbaf5f4063232152e30f571f54fdd97e Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Fri, 28 Mar 2025 15:46:12 +1100 Subject: [PATCH] Help: Use consistent plural form for CPack configurations --- Help/manual/cpack.1.rst | 4 ++-- Source/CPack/cpack.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Help/manual/cpack.1.rst b/Help/manual/cpack.1.rst index 1a101a4d56..038cad2b92 100644 --- a/Help/manual/cpack.1.rst +++ b/Help/manual/cpack.1.rst @@ -51,10 +51,10 @@ Options the :variable:`CPACK_GENERATOR` variable determines the default set of generators that will be used. -.. option:: -C +.. option:: -C Specify the project configuration(s) to be packaged (e.g. ``Debug``, - ``Release``, etc.), where ```` is a + ``Release``, etc.), where ```` is a :ref:`semicolon-separated list `. When the CMake project uses a multi-configuration generator such as Xcode or Visual Studio, this option is needed to tell diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 138d8faa87..a4046119fe 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -48,7 +48,7 @@ cmDocumentationEntry const cmDocumentationUsage = { {}, " cpack [options]" }; cmDocumentationEntry const cmDocumentationOptions[14] = { { "-G ", "Override/define CPACK_GENERATOR" }, - { "-C ", "Specify the project configuration" }, + { "-C ", "Specify the project configuration(s)" }, { "-D =", "Set a CPack variable." }, { "--config ", "Specify the config file." }, { "-V,--verbose", "Enable verbose output" },