From 4c1008d739ebbe677a877256f0e3f1e37fe9ffee Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Wed, 10 Aug 2022 00:08:04 +0400 Subject: Help: Use `:option:` role to reference `ctest` options --- Help/manual/cmake-presets.7.rst | 2 +- Help/prop_test/LABELS.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Help/manual/cmake-presets.7.rst b/Help/manual/cmake-presets.7.rst index 290c2ba..ea43b14 100644 --- a/Help/manual/cmake-presets.7.rst +++ b/Help/manual/cmake-presets.7.rst @@ -570,7 +570,7 @@ that may contain the following fields: ``name`` A required string representing the machine-friendly name of the preset. - This identifier is used in the :ref:`ctest --preset ` option. + This identifier is used in the :option:`ctest --preset` option. There must not be two test presets in the union of ``CMakePresets.json`` and ``CMakeUserPresets.json`` in the same directory with the same name. However, a test preset may have the same name as a configure or build preset. diff --git a/Help/prop_test/LABELS.rst b/Help/prop_test/LABELS.rst index a06f152..d827adc 100644 --- a/Help/prop_test/LABELS.rst +++ b/Help/prop_test/LABELS.rst @@ -4,7 +4,7 @@ LABELS Specify a list of text labels associated with a test. The labels are reported in both the ``ctest`` output summary and in dashboard submissions. They can also be used to filter the set of tests to be executed (see the -``ctest -L`` and ``ctest -LE`` :ref:`CTest Options`). +:option:`ctest -L` and :option:`ctest -LE` options). See :ref:`Additional Labels` for adding labels to a test dynamically during test execution. -- cgit v0.12