From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Fri, 22 Mar 2024 07:57:31 +0000 (+0100)
Subject: doc: add reference to itest in if man-page
X-Git-Tag: v2025.01-rc5-pxa1908~609^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static//%22brlog.php?a=commitdiff_plain;h=d2fbe1fa29190fc1209364b3d5e33294009da9bd;p=u-boot.git

doc: add reference to itest in if man-page

Add a cross reference to the itest command.

Fix a typo: %s/Example/Examples/.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---

diff --git a/doc/usage/cmd/if.rst b/doc/usage/cmd/if.rst
index 6b3dbe7b0a..813f903a8d 100644
--- a/doc/usage/cmd/if.rst
+++ b/doc/usage/cmd/if.rst
@@ -33,11 +33,11 @@ test statement
     $? becomes 0 (true) the statements after the **then** statement will
     be executed. Otherwise the statements after the **else** statement.
 
-Example
--------
+Examples
+--------
 
 The examples shows how the value of a numeric variable can be tested with
-**itest**.
+the :doc:`itest <itest>` command.
 
 ::