about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-06-05 09:51:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-06-05 09:51:25 +0000
commitecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1 (patch)
treecde3d39a4d0d2b6e5064360cea308589d0c17fef /Doc/Zsh
parent4018e3c1493ea415ef9ad5eba83ad153263d3371 (diff)
downloadzsh-ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1.tar.gz
zsh-ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1.tar.xz
zsh-ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1.zip
18526: -O option to _describe for prefix-needed in _arguments
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compsys.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 4009f3324..3ea302872 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -3665,7 +3665,7 @@ tt(compadd) when generating matches from the style value, or to
 the functions for the fields if they are called.
 )
 findex(_describe)
-item(tt(_describe) [ tt(-o) | tt(-t) var(tag) ] var(descr) var(name1) [ var(name2) ] var(opts) ... tt(-)tt(-) ...)(
+item(tt(_describe) [ tt(-oO) | tt(-t) var(tag) ] var(descr) var(name1) [ var(name2) ] var(opts) ... tt(-)tt(-) ...)(
 This function associates completions with descriptions.
 Multiple groups separated by tt(-)tt(-) can be supplied, potentially with
 different completion options var(opts).
@@ -3688,7 +3688,9 @@ line.  In this case tt(_describe) uses the tt(prefix-hidden),
 tt(prefix-needed) and tt(verbose) styles to find out if the strings should
 be added as completions and if the descriptions should be shown.  Without
 the `tt(-o)' option, only the tt(verbose) style is used to decide how
-descriptions are shown.
+descriptions are shown.  If `tt(-O)' is used instead of `tt(-O)', command
+options are completed as above but tt(_describe) will not handle the
+tt(prefix-needed) style.
 
 With the tt(-t) option a var(tag) can be specified.  The default is
 `tt(values)' or, if the tt(-o) option is given, `tt(options)'.