summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-21 13:17:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-05-21 13:17:17 (GMT)
commit645ca62b1bb0590e48923517bcf58c44bffd6935 (patch)
treeb9886d4deb6a18f5d5006d84dcd581b08e203c8d
parent0bfffb0c98b312e9be08cbb4031ac8be229b428a (diff)
parent67171a99be91a0f9d5cbb15afd0150b0c088e4ff (diff)
downloadCMake-645ca62b1bb0590e48923517bcf58c44bffd6935.zip
CMake-645ca62b1bb0590e48923517bcf58c44bffd6935.tar.gz
CMake-645ca62b1bb0590e48923517bcf58c44bffd6935.tar.bz2
Merge topic 'doc-macro'
67171a99be Help: Fix inaccurate use of "function" in macro docs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Juan Ramos <juan.ramos@kitware.com> Merge-request: !9534
-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.