about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_typeset
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_typeset')
-rw-r--r--Completion/Zsh/Command/_typeset3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index fb9e3ab5e..e4446a6ff 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -41,6 +41,7 @@ allargs=(
   uf '-u[mark function for autoloadling]'
   up '-u[convert the value to uppercase]'
   w '(-k -z)-w[specify that arguments refer to files compiled with zcompile]'
+  W '-+W[turn on WARN_NESTED_VAR for function]'
   x "($fopts)-+x[export parameter]"
   z "($popts -k -w)-+z[mark function for zsh-style autoloading]"
 )
@@ -54,7 +55,7 @@ case ${service} in
   ;;
   float) use="EFHghlprtux";;
   functions)
-    use="UkmTtuzM"
+    use="UkmTtuzMW"
     func=f
     allargs[M]='(-k -t -T -u -U -z -M +M +k +t +z)-+M[define mathematical function]'
   ;;