summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendlyanon <friendlyanon_@hotmail.com>2021-04-21 01:22:01 (GMT)
committerfriendlyanon <friendlyanon_@hotmail.com>2021-04-21 01:22:01 (GMT)
commit71cbddf83ae552bab98620624573b820a7cb4161 (patch)
treef2d010bb5b27c0b22b09170930bfdd09c82cded7
parent63ffe210365ce2d1dd67fcabcc67e20913f320a8 (diff)
downloadCMake-71cbddf83ae552bab98620624573b820a7cb4161.zip
CMake-71cbddf83ae552bab98620624573b820a7cb4161.tar.gz
CMake-71cbddf83ae552bab98620624573b820a7cb4161.tar.bz2
cmake(1): Change wording for fields in presets
The placement of the word "optionally" implied that the fields mentioned before are not optional, which is not the case starting from version 3 of the presets.
-rw-r--r--Help/manual/cmake.1.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 02828ac..f416f86 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -381,9 +381,9 @@ Options
``--preset <preset>``, ``--preset=<preset>``
Reads a :manual:`preset <cmake-presets(7)>` from
``<path-to-source>/CMakePresets.json`` and
- ``<path-to-source>/CMakeUserPresets.json``. The preset specifies the
- generator and the build directory, and optionally a list of variables and
- other arguments to pass to CMake. The current working directory must contain
+ ``<path-to-source>/CMakeUserPresets.json``. The preset may specify the
+ generator and the build directory, and a list of variables and other
+ arguments to pass to CMake. The current working directory must contain
CMake preset files. The :manual:`CMake GUI <cmake-gui(1)>` can
also recognize ``CMakePresets.json`` and ``CMakeUserPresets.json`` files. For
full details on these files, see :manual:`cmake-presets(7)`.