about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-02-25 14:55:50 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-02-25 14:55:50 +0000
commit0911160d0723230b18305076a6bff30402906183 (patch)
tree9c1aa4a2eb952bf0d4e0a26890f940fb39e17f93 /Completion
parentf1fd8273b44fb232651e72ceb4af1da8492ea447 (diff)
downloadzsh-0911160d0723230b18305076a6bff30402906183.tar.gz
zsh-0911160d0723230b18305076a6bff30402906183.tar.xz
zsh-0911160d0723230b18305076a6bff30402906183.zip
fix out-of-date documentation for -value- completion and move description of
special contexts from _complete's to #compdef's description
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Zsh/Context/_value8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Zsh/Context/_value b/Completion/Zsh/Context/_value
index 15732f22c..47fbc1749 100644
--- a/Completion/Zsh/Context/_value
+++ b/Completion/Zsh/Context/_value
@@ -1,10 +1,10 @@
 #compdef -value- -array-value- -value-,-default-,-default-
 
 # You can customize completion for different parameters by writing
-# functions with the tag-line `#compdef -T value <name>'.
-# The function searches for the strings `<param-name>:<param-type>'
-# and `<param-name>'. If the line contains a command (as in `make foo=<TAB>')
-# the string `<command>:<param-name>:<param-type>' is also searched for.
+# functions with the tag-line `#compdef -value-,<name>,<command>' where
+# <name> is the name of the parameter (or name-key when completing an
+# associative array value) and <command> is either `-default-' or the
+# name of the command from the command-line.
 
 if [[ "$service" != -value-,* ]]; then
   local strs ctx=