mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user