summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-12 13:24:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-12 13:24:59 (GMT)
commit9e34f11b3604269c8c4f98bbcf237daeca9eaa2c (patch)
tree715171b50a17d508b1be8396c64c5c713a083471 /Help
parentf0a57d42a2b0309c14615b7a9572f611ddda435e (diff)
parent572b4fd85b5987858ee6ce6fd7381c3cfd6720e9 (diff)
downloadCMake-9e34f11b3604269c8c4f98bbcf237daeca9eaa2c.zip
CMake-9e34f11b3604269c8c4f98bbcf237daeca9eaa2c.tar.gz
CMake-9e34f11b3604269c8c4f98bbcf237daeca9eaa2c.tar.bz2
Merge topic 'doc-if-legacy'
572b4fd85b Help: Fix elseif/endif typo Acked-by: Kitware Robot <kwrobot@kitware.com> 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