diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-09-26 08:43:46 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-11-26 08:39:03 +0000 |
commit | e8d49addc049a77293fd015824ecde31e2901b8d (patch) | |
tree | 7bffe0b84d8d9b0589a60a0bcbe2a24823f71271 | |
parent | ff1f7769ee7da1908fb040c5a74f29a83a84b5ff (diff) | |
download | zsh-e8d49addc049a77293fd015824ecde31e2901b8d.tar.gz zsh-e8d49addc049a77293fd015824ecde31e2901b8d.tar.xz zsh-e8d49addc049a77293fd015824ecde31e2901b8d.zip |
49447: docs: _wanted: Clarify the example and point to another one.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Doc/Zsh/compsys.yo | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 12253d684..f83bc2164 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2021-11-26 Daniel Shahaf <d.s@daniel.shahaf.name> + * 49447: Doc/Zsh/compsys.yo: docs: _wanted: Clarify the example + and point to another one. + * 49446: Doc/Zsh/expn.yo: docs: Add texinode()s, so the next commit can link directly to a subsection. 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). |