about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-09-19 15:19:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-09-19 15:19:21 +0000
commitce43e4a22c250fbaee14580b167986615455f78f (patch)
tree488f047443443dfaa91eef06b0b0d023160b08f7 /Doc/Zsh
parentbd678526b3360851468555fca8bb5d53fef11218 (diff)
downloadzsh-ce43e4a22c250fbaee14580b167986615455f78f.tar.gz
zsh-ce43e4a22c250fbaee14580b167986615455f78f.tar.xz
zsh-ce43e4a22c250fbaee14580b167986615455f78f.zip
unposted c.f. 21735: document return as exit in try block in script
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/grammar.yo5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index d1f3996ef..dd5da93b4 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -287,8 +287,9 @@ example({
 }
 # The error condition has been reset.)
 
-An tt(exit) command encountered in tt(try-list) does em(not) cause the
-execution of var(always-list).  Instead, the shell exits immediately
+An tt(exit) command (or a tt(return) command executed at the outermost
+function level of a script) encountered in tt(try-list) does em(not) cause
+the execution of var(always-list).  Instead, the shell exits immediately
 after any tt(EXIT) trap has been executed.
 )
 findex(function)