diff options
Diffstat (limited to 'doc_src/return.txt')
-rw-r--r-- | doc_src/return.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc_src/return.txt b/doc_src/return.txt index a3c97809..4009130a 100644 --- a/doc_src/return.txt +++ b/doc_src/return.txt @@ -1,8 +1,7 @@ - \section return return - Stop the innermost currently evaluated function \subsection return-synopsis Synopsis - <tt>function NAME; [COMMANDS...] return [STATUS]; [COMMANDS...] end</tt> +<tt>function NAME; [COMMANDS...;] return [STATUS]; [COMMANDS...;] end</tt> \subsection return-description Description @@ -17,9 +16,11 @@ function. \subsection return-example Example The following code is an implementation of the false command as a fish function -<p> -<pre>function false + +<pre> +function false return 1 -end</pre> -</p> +end +</pre> + |