From 96caee837c180dd0c31e24dc53427d1470686db5 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Tue, 9 Jan 2024 16:27:33 +0100 Subject: [PATCH] docs: Add else and end to keywords list --- doc_src/commands.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc_src/commands.rst b/doc_src/commands.rst index 69454f8ab..9d640dc30 100644 --- a/doc_src/commands.rst +++ b/doc_src/commands.rst @@ -12,7 +12,7 @@ Keywords Core language keywords that make up the syntax, like -- :doc:`if ` for conditions. +- :doc:`if ` and :doc:`else ` for conditions. - :doc:`for ` and :doc:`while ` for loops. - :doc:`break ` and :doc:`continue ` to control loops. - :doc:`function ` to define functions. @@ -23,6 +23,7 @@ Core language keywords that make up the syntax, like - :doc:`command ` or :doc:`builtin ` to tell fish what sort of thing to execute - :doc:`time ` to time execution - :doc:`exec ` tells fish to replace itself with a command. +- :doc:`end ` to end a block Tools ^^^^^