summaryrefslogtreecommitdiffstats
path: root/Help/command/endmacro.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/endmacro.rst')
-rw-r--r--Help/command/endmacro.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Help/command/endmacro.rst b/Help/command/endmacro.rst
index 47327a7..4290ba7 100644
--- a/Help/command/endmacro.rst
+++ b/Help/command/endmacro.rst
@@ -3,8 +3,12 @@ endmacro
Ends a list of commands in a macro block.
-::
+.. code-block:: cmake
- endmacro(expression)
+ endmacro([<name>])
See the :command:`macro` command.
+
+The optional ``<name>`` argument is supported for backward compatibility
+only. If used it must be a verbatim repeat of the ``<name>`` argument
+of the opening ``macro`` command.