diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-02 10:12:17 +0000 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-02 10:12:17 +0000 |
commit | 76d095df9de31d46b0ca042039855ffc286f5fdb (patch) | |
tree | 6c735048daa3773cb741b3b816d2acba4085f691 /Doc | |
parent | 21baad1037c1aa85384a81dd77a4661676336133 (diff) | |
download | zsh-76d095df9de31d46b0ca042039855ffc286f5fdb.tar.gz zsh-76d095df9de31d46b0ca042039855ffc286f5fdb.tar.xz zsh-76d095df9de31d46b0ca042039855ffc286f5fdb.zip |
51306: error message in ${unset?error} should be expanded
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/expn.yo | 4 |
1 files changed, 3 insertions, 1 deletions
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() |