summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-06-03 20:50:20 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-06-04 16:58:19 +0000
commitac3173be90442033183877e65419393fd1d4e56b (patch)
tree5de8efbdfd02fa99bcb6bebfaca2909048fd3ca6 /Doc/Zsh
parent984c18048b81c39bc06b73b484ee6e0d40340e19 (diff)
downloadzsh-ac3173be90442033183877e65419393fd1d4e56b.tar.gz
zsh-ac3173be90442033183877e65419393fd1d4e56b.tar.xz
zsh-ac3173be90442033183877e65419393fd1d4e56b.zip
38593: _describe: Make documentation more greppable.
Make the running text refer to the parameters using their names given in
the signature.  This enables the reader to search for the name given in
the signature.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 203c436a5..c97f80f27 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -4227,13 +4227,13 @@ different completion options var(opt)s.
 The var(descr) is taken as a string to display above the matches if the
 tt(format) style for the tt(descriptions) tag is set.  This is followed by
 one or two names of arrays followed by options to pass to tt(compadd).  The
-first array contains the possible completions with their descriptions in
+array var(name1) contains the possible completions with their descriptions in
 the form `var(completion)tt(:)var(description)'.  Any literal colons in
-var(completion) must be quoted with a backslash.  If a second array is
-given, it should have the same number of elements as the first; in this
+var(completion) must be quoted with a backslash.  If a var(name2) is
+given, it should have the same number of elements as var(name1); in this
 case the corresponding elements are added as possible completions instead
-of the var(completion) strings from the first array.  The completion list
-will retain the descriptions from the first array.  Finally, a set of
+of the var(completion) strings from var(name1).  The completion list
+will retain the descriptions from var(name1).  Finally, a set of
 completion options can appear.
 
 If the option `tt(-o)' appears before the first argument, the matches added