doc: add cross-refs between if and else commands

This commit is contained in:
Delapouite
2019-10-09 07:56:49 +02:00
committed by Fabian Homborg
parent 1f35b146de
commit 09a97528a9
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ Synopsis
Description
-----------
``if`` will execute the command ``CONDITION``. If the condition's exit status is 0, the commands ``COMMANDS_TRUE`` will execute. If it is not 0 and ``else`` is given, ``COMMANDS_FALSE`` will be executed.
:ref:`if <cmd-if>` will execute the command ``CONDITION``. If the condition's exit status is 0, the commands ``COMMANDS_TRUE`` will execute. If it is not 0 and ``else`` is given, ``COMMANDS_FALSE`` will be executed.
Example