about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/compsys.yo6
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4927d7960..c7994e629 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-06-06  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 14736: Doc/Zsh/compsys.yo: make docs for _wanted and
+	_requested clearer (command has to allow options passed to it)
+
 	* 14733: Completion/Base/Utility/_arguments: two fixes: try all
 	actions that have to be tried (but only once), execute actions
 	if we aren't after an option already (in the same word)
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 7027ab26c..aedad700d 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -3834,6 +3834,9 @@ while _tags; do
   ...
   (( ret )) || break
 done)
+
+Note that this means that the var(command) has to accept the options
+that have to be passed down to tt(compadd).
 )
 findex(_retrieve_cache)
 item(tt(_retrieve_cache) var(cache_identifier))(
@@ -4037,6 +4040,9 @@ the var(command).  This is because tt(_wanted) also implements the loop
 over the tags, not just the one for the labels; conversely, it should not
 be called in the middle of a tt(_tags) loop.
 
+Note that, as for tt(_requested), the var(command) has to accept the options
+that have to be passed down to tt(compadd).
+
 Like tt(_tags) this function supports the tt(-C) option to give a
 different name for the argument context field.
 )