From e8d49addc049a77293fd015824ecde31e2901b8d Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 26 Sep 2021 08:43:46 +0000 Subject: 49447: docs: _wanted: Clarify the example and point to another one. --- Doc/Zsh/compsys.yo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 40238c4b9..f85293ac7 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -5395,7 +5395,11 @@ matches with the given description: example(local expl _wanted tag expl 'description' \ - compadd matches...) + compadd -- var(match1) var(match2)...) + +See also the use of tt(_wanted) in the example function in +ifzman(the subsection `Dynamic named directories' in zmanref(zshexpn))\ +ifnzman(noderef(Dynamic named directories)). Note that, as for tt(_requested), the var(command) must be able to accept options to be passed down to tt(compadd). -- cgit 1.4.1