mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
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.
This commit is contained in:
parent
534fd1a59e
commit
c26d317da5
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
\subsection function-synopsis Synopsis
|
\subsection function-synopsis Synopsis
|
||||||
\fish{synopsis}
|
\fish{synopsis}
|
||||||
function [OPTIONS] NAME; BODY; end
|
function NAME [OPTIONS]; BODY; end
|
||||||
\endfish
|
\endfish
|
||||||
|
|
||||||
\subsection function-description Description
|
\subsection function-description Description
|
||||||
|
|
Loading…
Reference in a new issue