From 033c066543bd9636d87778b4c1d6b15e9a5c7890 Mon Sep 17 00:00:00 2001 From: Markus Ferrell Date: Mon, 11 Jul 2022 10:28:32 -0400 Subject: Help: Add see-also refs for flow control commands --- Help/command/foreach.rst | 8 ++++++++ Help/command/function.rst | 6 ++++++ Help/command/if.rst | 7 +++++++ Help/command/while.rst | 8 ++++++++ 4 files changed, 29 insertions(+) diff --git a/Help/command/foreach.rst b/Help/command/foreach.rst index d9f54ca..ddf8dfa 100644 --- a/Help/command/foreach.rst +++ b/Help/command/foreach.rst @@ -130,3 +130,11 @@ yields -- en=two, ba=dua -- en=three, ba=tiga -- en=four, ba= + +See Also +^^^^^^^^ + +* :command:`break` +* :command:`continue` +* :command:`endforeach` +* :command:`while` diff --git a/Help/command/function.rst b/Help/command/function.rst index 3d25aa4..fc55c03 100644 --- a/Help/command/function.rst +++ b/Help/command/function.rst @@ -73,3 +73,9 @@ argument. Referencing to ``ARGV#`` arguments beyond ``ARGC`` have undefined behavior. Checking that ``ARGC`` is greater than ``#`` is the only way to ensure that ``ARGV#`` was passed to the function as an extra argument. + +See Also +^^^^^^^^ + +* :command:`endfunction` +* :command:`return` diff --git a/Help/command/if.rst b/Help/command/if.rst index c096725..3908a8c 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -419,3 +419,10 @@ There is no automatic evaluation for environment or cache :ref:`Variable References`. Their values must be referenced as ``$ENV{}`` or ``$CACHE{}`` wherever the above-documented condition syntax accepts ````. + +See also +^^^^^^^^ + + * :command:`else` + * :command:`elseif` + * :command:`endif` diff --git a/Help/command/while.rst b/Help/command/while.rst index a4957c1..0bafae5 100644 --- a/Help/command/while.rst +++ b/Help/command/while.rst @@ -23,3 +23,11 @@ Per legacy, the :command:`endwhile` command admits an optional ```` argument. If used, it must be a verbatim repeat of the argument of the opening ``while`` command. + +See Also +^^^^^^^^ + + * :command:`break` + * :command:`continue` + * :command:`foreach` + * :command:`endwhile` -- cgit v0.12