diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-13 13:46:00 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-13 13:46:00 +0000 |
commit | 6d2921542ebf2d912a860c4f32db979f4361d8b6 (patch) | |
tree | 8571d506ec58144d294acf067e69257814afa1d8 /Doc/Zsh | |
parent | 67512e04ae8759f61c147b1800d2992614ea1ad5 (diff) | |
download | zsh-6d2921542ebf2d912a860c4f32db979f4361d8b6.tar.gz zsh-6d2921542ebf2d912a860c4f32db979f4361d8b6.tar.xz zsh-6d2921542ebf2d912a860c4f32db979f4361d8b6.zip |
18223: satisfy POSIX requirement for a -v flag to unset
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/builtins.yo | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index eb1d62755..333fec64a 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -1391,7 +1391,7 @@ flag is given. ) findex(unset) cindex(parameters, unsetting) -item(tt(unset) [ tt(-fm) ] var(name) ...)( +item(tt(unset) [ tt(-fmv) ] var(name) ...)( Each named parameter is unset. Local parameters remain local even if unset; they appear unset within scope, but the previous value will still reappear when the scope ends. @@ -1405,6 +1405,9 @@ be quoted) and all parameters with matching names are unset. Note that this cannot be used when unsetting associative array elements, as the subscript will be treated as part of the pattern. +The tt(-v) flag specifies that var(name) refers to parameters. This is the +default behaviour. + tt(unset -f) is equivalent to tt(unfunction). ) findex(unsetopt) |