summary refs log tree commit diff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 09:24:37 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 09:24:37 +0000
commit5d4139d4219904aab388131223bba4e1e967bf03 (patch)
tree54ba5c228e71111e1dee07f0b9bc4de3b2b8f310 /Doc/Zsh/compsys.yo
parenteb2bfcd55571739549ea06b319284a92d01eeb67 (diff)
downloadzsh-5d4139d4219904aab388131223bba4e1e967bf03.tar.gz
zsh-5d4139d4219904aab388131223bba4e1e967bf03.tar.xz
zsh-5d4139d4219904aab388131223bba4e1e967bf03.zip
document _wanted -C; fix for call to _wanted in _urls (10965)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index acaad3cc4..66d56f078 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -2590,7 +2590,7 @@ while _tags; do
 done)
 )
 findex(_wanted)
-item(tt(_wanted) [ tt(-12VJ) ] var(tag) var(name) var(descr) var(command) var(args) ...)(
+item(tt(_wanted) [ tt(-C) var(name) ]  [ tt(-12VJ) ] var(tag) var(name) var(descr) var(command) var(args) ...)(
 In many contexts only one type of matches can be generated but even
 then it should be tested if the tag representing those matches is
 requested by the user. This function makes that easier.
@@ -2607,6 +2607,9 @@ example(_wanted tag expl 'description' \
 Unlike tt(_requested), however, tt(_wanted) can not be called without
 the var(command). That's because tt(_wanted) also implements the loop
 over the tags, not only the one for the labels.
+
+Like tt(_tags) this function supports the tt(-C) option to give a
+different name for the argument context field.
 )
 findex(_alternative)
 item(tt(_alternative) [ tt(-C) var(name) ] var(specs) ...)(