about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-09-19 19:45:55 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-09-19 19:45:55 -0700
commitb4c7f0e7d1c99a0356f5e48233ff008916849d1f (patch)
tree0bcfb7d6250ad11d45402a5750bf6a0c378f2f27 /Doc
parente1ba30afae4e0a81bec3c4e3616711ed1e265fad (diff)
downloadzsh-b4c7f0e7d1c99a0356f5e48233ff008916849d1f.tar.gz
zsh-b4c7f0e7d1c99a0356f5e48233ff008916849d1f.tar.xz
zsh-b4c7f0e7d1c99a0356f5e48233ff008916849d1f.zip
33206: fix compdescribe doc
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_computil.yo12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/Zsh/mod_computil.yo b/Doc/Zsh/mod_computil.yo
index 593f85ad3..af537c9c0 100644
--- a/Doc/Zsh/mod_computil.yo
+++ b/Doc/Zsh/mod_computil.yo
@@ -33,12 +33,12 @@ arguments are like the definition arguments to tt(_describe) itself.
 
 Once tt(compdescribe) has been called with either the tt(-i) or the
 tt(-I) option, it can be repeatedly called with the tt(-g) option and
-the names of five arrays as its arguments.  This will step through the
-different sets of matches and store the options in the first array,
-the strings with descriptions in the second, the matches for these in
-the third, the strings without descriptions in the fourth, and the
-matches for them in the fifth array.  These are then directly given to
-tt(compadd) to register the matches with the completion code.
+the names of four parameters as its arguments.  This will step through
+the different sets of matches and store the value of tt(compstate[list])
+in the first scalar, the options for tt(compadd) in the second array,
+the matches in the third array, and the strings to be displayed in the
+completion listing in the fourth array.  The arrays may then be directly
+given to tt(compadd) to register the matches with the completion code.
 )
 findex(compfiles)
 item(tt(compfiles))(