summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-11 19:44:00 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-11 19:44:00 (GMT)
commita251b61181252eb380d24778cdd8224ea7198eef (patch)
tree68f4e155a3ee8e76562165e3bf6360f36a1d52c3 /Help
parent3ff5a43c499c74715a282e782f4191d4420c9c73 (diff)
parent572b4fd85b5987858ee6ce6fd7381c3cfd6720e9 (diff)
downloadCMake-a251b61181252eb380d24778cdd8224ea7198eef.zip
CMake-a251b61181252eb380d24778cdd8224ea7198eef.tar.gz
CMake-a251b61181252eb380d24778cdd8224ea7198eef.tar.bz2
Merge branch 'doc-if-legacy' into release-3.14
Merge-request: !2950
Diffstat (limited to 'Help')
-rw-r--r--Help/command/if.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Help/command/if.rst b/Help/command/if.rst
index a682c83..a48a0fa 100644
--- a/Help/command/if.rst
+++ b/Help/command/if.rst
@@ -23,7 +23,7 @@ Otherwise, optional ``elseif`` blocks are processed in the same way.
Finally, if no ``condition`` is true, ``commands`` in the optional ``else``
block are executed.
-Per legacy, the :command:`else` and :command:`elseif` commands admit
+Per legacy, the :command:`else` and :command:`endif` commands admit
an optional ``<condition>`` argument.
If used, it must be a verbatim
repeat of the argument of the opening