Jelajahi Sumber

Help: Use consistent plural form for CPack configurations

Craig Scott 10 bulan lalu
induk
melakukan
d289d720cb
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      Help/manual/cpack.1.rst
  2. 1 1
      Source/CPack/cpack.cxx

+ 2 - 2
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 <configs>
+.. option:: -C <configurations>
 
   Specify the project configuration(s) to be packaged (e.g. ``Debug``,
-  ``Release``, etc.), where ``<configs>`` is a
+  ``Release``, etc.), where ``<configurations>`` is a
   :ref:`semicolon-separated list <CMake Language Lists>`.
   When the CMake project uses a multi-configuration
   generator such as Xcode or Visual Studio, this option is needed to tell

+ 1 - 1
Source/CPack/cpack.cxx

@@ -48,7 +48,7 @@ cmDocumentationEntry const cmDocumentationUsage = { {}, "  cpack [options]" };
 
 cmDocumentationEntry const cmDocumentationOptions[14] = {
   { "-G <generators>", "Override/define CPACK_GENERATOR" },
-  { "-C <Configuration>", "Specify the project configuration" },
+  { "-C <Configurations>", "Specify the project configuration(s)" },
   { "-D <var>=<value>", "Set a CPack variable." },
   { "--config <configFile>", "Specify the config file." },
   { "-V,--verbose", "Enable verbose output" },