From 76d095df9de31d46b0ca042039855ffc286f5fdb Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Thu, 2 Feb 2023 10:12:17 +0000
Subject: 51306: error message in ${unset?error} should be expanded
---
Doc/Zsh/expn.yo | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'Doc/Zsh')
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index ad55c24ba..fd5443b20 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -665,7 +665,9 @@ item(tt(${)var(name)tt(:?)var(word)tt(}))(
In the first form, if var(name) is set, or in the second form if var(name)
is both set and non-null, then substitute its value; otherwise, print
var(word) and exit from the shell. Interactive shells instead return to
-the prompt. If var(word) is omitted, then a standard message is printed.
+the prompt. If var(word) is omitted, then a standard message is
+printed. Note that var(word) is expanded even though its value
+is not substituted onto the command line.
)
enditem()
--
cgit 1.4.1