From 5d4139d4219904aab388131223bba4e1e967bf03 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 27 Apr 2000 09:24:37 +0000 Subject: document _wanted -C; fix for call to _wanted in _urls (10965) --- Doc/Zsh/compsys.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Doc/Zsh/compsys.yo') 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) ...)( -- cgit 1.4.1