From c26d317da5950645590fecf45c907f35ba0462bb Mon Sep 17 00:00:00 2001 From: "Jeremy W. Sherman" Date: Sun, 17 May 2015 14:45:54 -0400 Subject: documents function options must follow name When declaring a function using the function "function", the options must follow, not precede, the function name. The examples demonstrate this syntax, but the synopsis previously showed the options preceding the name. --- doc_src/function.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc_src') diff --git a/doc_src/function.txt b/doc_src/function.txt index 1f9fb47d..e58d6513 100644 --- a/doc_src/function.txt +++ b/doc_src/function.txt @@ -2,7 +2,7 @@ \subsection function-synopsis Synopsis \fish{synopsis} -function [OPTIONS] NAME; BODY; end +function NAME [OPTIONS]; BODY; end \endfish \subsection function-description Description -- cgit v1.2.3