From 6d2921542ebf2d912a860c4f32db979f4361d8b6 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 13 Feb 2003 13:46:00 +0000 Subject: 18223: satisfy POSIX requirement for a -v flag to unset --- Doc/Zsh/builtins.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Doc') 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) -- cgit 1.4.1