diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-01-31 15:17:44 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-01-31 15:17:44 -0800 |
commit | 0baf57701c458b9497d402911fb77443b5be529c (patch) | |
tree | 6ff14b6b67a420eff3dd93f556af0bef8f79effd /Doc/Zsh/builtins.yo | |
parent | 31d0bc1cdce378b862f7878503195ff0cc1728d4 (diff) | |
download | zsh-0baf57701c458b9497d402911fb77443b5be529c.tar.gz zsh-0baf57701c458b9497d402911fb77443b5be529c.tar.xz zsh-0baf57701c458b9497d402911fb77443b5be529c.zip |
37845: Forward-reference typeset instances where no parameter is created, and remove the obsolete statement about array assignments separated from typeset command on -p.
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r-- | Doc/Zsh/builtins.yo | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 365f8e1e6..542cecffc 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1753,7 +1753,8 @@ xitem(SPACES()[ tt(+) | var(SCALAR)[tt(=)var(value)] var(array)[tt(=LPAR())var(v item(tt(typeset) tt(-f) [ {tt(PLUS())|tt(-)}tt(TUkmtuz) ] [ tt(+) ] [ var(name) ... ])( Set or display attributes and values for shell parameters. -A parameter is created for each var(name) that does not already refer +Except as noted below for control flags that change the behavior, +a parameter is created for each var(name) that does not already refer to one. When inside a function, a new parameter is created for every var(name) (even those that already exist), and is unset again when the function completes. See @@ -1909,8 +1910,7 @@ does not. ) item(tt(-p))( If the tt(-p) option is given, parameters and values are printed in the -form of a typeset command and an assignment (which will be printed -separately for arrays and associative arrays), regardless of other flags +form of a typeset command with an assignment, regardless of other flags and options. Note that the tt(-H) flag on parameters is respected; no value will be shown for these parameters. |