zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Docs: possible typo zshmisc with 'always'
@ 2014-05-09  1:45 Eric Cook
  2014-05-09  8:44 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Cook @ 2014-05-09  1:45 UTC (permalink / raw)
  To: zsh-workers

{ true } always { false }; print $?
returns 0 where zshmisc states it should return 1. Or was it actually
supposed to return 1?

---
 Doc/Zsh/grammar.yo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo
index b452e4c..dde67eb 100644
--- a/Doc/Zsh/grammar.yo
+++ b/Doc/Zsh/grammar.yo
@@ -312,7 +312,7 @@ during the tt(try-list) is not useful (unless this
forms part of an
 enclosing tt(always) block).
 
 Regardless of tt(TRY_BLOCK_ERROR), after the end of tt(always-list) the
-normal shell status tt($?) is the value returned from tt(always-list).
+normal shell status tt($?) is the value returned from tt(try-list).
 This will be non-zero if there was an error, even if tt(TRY_BLOCK_ERROR)
 was set to zero.
 
-- 
1.9.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-09  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09  1:45 [PATCH] Docs: possible typo zshmisc with 'always' Eric Cook
2014-05-09  8:44 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).