Przeglądaj źródła

Help: Use `:option:` role to reference `ctest` options

Alex Turbov 3 lat temu
rodzic
commit
4c1008d739
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      Help/manual/cmake-presets.7.rst
  2. 1 1
      Help/prop_test/LABELS.rst

+ 1 - 1
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 <CTest Options>` 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.

+ 1 - 1
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.