summaryrefslogtreecommitdiff
path: root/Doc/Zsh/grammar.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/grammar.yo')
-rw-r--r--Doc/Zsh/grammar.yo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index eb1edf7f8..4d04c2470 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -356,7 +356,7 @@ forming a globbing pattern in that case.
In any of the forms above, a redirection may appear outside the
function body, for example
-example(func() { ... } 2>&1)
+example(func+LPAR()RPAR() { ... } 2>&1)
The redirection is stored with the function and applied whenever the
function is executed. Any variables in the redirection are expanded