summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Abrahams <dabrahams@adobe.com>2024-05-20 18:52:21 (GMT)
committerBrad King <brad.king@kitware.com>2024-05-21 13:13:57 (GMT)
commit67171a99be91a0f9d5cbb15afd0150b0c088e4ff (patch)
tree60431deffa73c95ab0d0f8e2a5c0d31477653c4a
parent71c52c76faf3f5d26e65ea0855fd1bffd51b0bb8 (diff)
downloadCMake-67171a99be91a0f9d5cbb15afd0150b0c088e4ff.zip
CMake-67171a99be91a0f9d5cbb15afd0150b0c088e4ff.tar.gz
CMake-67171a99be91a0f9d5cbb15afd0150b0c088e4ff.tar.bz2
Help: Fix inaccurate use of "function" in macro docs
-rw-r--r--Help/command/macro.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/macro.rst b/Help/command/macro.rst
index 2858622..978f7d6 100644
--- a/Help/command/macro.rst
+++ b/Help/command/macro.rst
@@ -61,7 +61,7 @@ with the arguments passed, and then invoked as normal commands.
In addition to referencing the formal parameters you can reference the
values ``${ARGC}`` which will be set to the number of arguments passed
-into the function as well as ``${ARGV0}``, ``${ARGV1}``, ``${ARGV2}``,
+into the macro as well as ``${ARGV0}``, ``${ARGV1}``, ``${ARGV2}``,
... which will have the actual values of the arguments passed in.
This facilitates creating macros with optional arguments.