summaryrefslogtreecommitdiffstats
path: root/Help/command/elseif.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-24 14:39:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-24 14:39:39 (GMT)
commit008cb6aa991a515cd31a9b7e6a5837555ff2d43a (patch)
tree1c1b234a3d67c6426efcacdae816172ccb388801 /Help/command/elseif.rst
parent2296ede5ad67ace711f3f9c2dff33ea1f9b9aeb4 (diff)
parentc2efb3efcd083523a73a2a9721b7101fbfc0fe0f (diff)
downloadCMake-008cb6aa991a515cd31a9b7e6a5837555ff2d43a.zip
CMake-008cb6aa991a515cd31a9b7e6a5837555ff2d43a.tar.gz
CMake-008cb6aa991a515cd31a9b7e6a5837555ff2d43a.tar.bz2
Merge topic 'scripting-commands'
c2efb3efcd Help: Revise docs on Scripting Commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2504
Diffstat (limited to 'Help/command/elseif.rst')
-rw-r--r--Help/command/elseif.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/command/elseif.rst b/Help/command/elseif.rst
index 9a8dfed..6bf8646 100644
--- a/Help/command/elseif.rst
+++ b/Help/command/elseif.rst
@@ -1,10 +1,11 @@
elseif
------
-Starts the elseif portion of an if block.
+Starts an elseif portion of an if block.
-::
+.. code-block:: cmake
- elseif(expression)
+ elseif(<condition>)
-See the :command:`if` command.
+See the :command:`if` command, especially for the syntax and logic
+of the ``<condition>``.