about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-16 16:13:05 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-16 16:13:05 +0000
commit5d255f819c0e91496bfd7763056b43e41722fba5 (patch)
tree0f74df53637493f2d5db575b214c279878b1894c /Doc
parent20c9bfe78dae52569f241752306a2494f5624f63 (diff)
downloadzsh-5d255f819c0e91496bfd7763056b43e41722fba5.tar.gz
zsh-5d255f819c0e91496bfd7763056b43e41722fba5.tar.xz
zsh-5d255f819c0e91496bfd7763056b43e41722fba5.zip
zsh-workers/7862
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 267617b15..da34451b3 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -855,14 +855,19 @@ arguments are preceded with backslashes.
 
 Normally the option names are taken as multi-character names and a
 word from the line is considered to contain only one option (or
-none). By giving the tt(-s) option to this function (as the first
-argument), options are considered to be one-character options and the
+none). By giving the tt(-s) option to this function (before the first
+description), options are considered to be one-character options and the
 strings from the line may contain more than one such option
 letter. However, strings beginning with two hyphens (like
 `tt(-)tt(-prefix)') are still considered to contain only one option
 name. This allows the use of the `tt(-s)' option to describe
 single-letter options together with such long option names.
 
+Also, the tt(-M) option followed by a string may be given before the
+first description. The string will be used as the match specification
+when completing option names and values instead of the default
+`tt(r:|[_-]=* r:|=*)'. 
+
 The function can also be made to automatically complete long options
 for commands that support the `tt(-)tt(-help)' option as, for example,
 most of the GNU commands do. For this, the string `tt(-)tt(-)' must be