summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-02-14 09:51:31 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-02-14 10:06:06 (GMT)
commit546922a57b73ce67c1599d37f77be5045bfa6b40 (patch)
treeaf27345e38f41cea6daf6b02199ed5bd891b5a60
parent847378d615edfed297a98cd662c2ebc73119d271 (diff)
downloadCMake-546922a57b73ce67c1599d37f77be5045bfa6b40.zip
CMake-546922a57b73ce67c1599d37f77be5045bfa6b40.tar.gz
CMake-546922a57b73ce67c1599d37f77be5045bfa6b40.tar.bz2
Help: Fix typo and improve docs for --debug-find-pkg|var options
Amends d7b18895bc (cmake: Add filtered debug-find options, 2021-12-07)
-rw-r--r--Help/manual/cmake.1.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index c2b4d68..7eb7dec 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -250,16 +250,17 @@ Options
See also the :variable:`CMAKE_FIND_DEBUG_MODE` variable for debugging
a more local part of the project.
-``--debug-find=<pkg>[,...]``
+``--debug-find-pkg=<pkg>[,...]``
Put cmake find commands in a debug mode when running under calls
- to ``find_package(<pkg>)``, where ``<pkg>`` is an entry in the given
- comma-separated list of case-sensitive package names.
+ to :command:`find_package(\<pkg\>) <find_package>`, where ``<pkg>``
+ is an entry in the given comma-separated list of case-sensitive package
+ names.
Like ``--debug-find``, but limiting scope to the specified packages.
``--debug-find-var=<var>[,...]``
Put cmake find commands in a debug mode when called with ``<var>``
- as the return variable, where ``<var>`` is an entry in the given
+ as the result variable, where ``<var>`` is an entry in the given
comma-separated list.
Like ``--debug-find``, but limiting scope to the specified variable names.