about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-14 23:57:23 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-14 23:57:23 +0000
commit53f0102525def32c358ed52e0a92ee976c1e393c (patch)
treed45f8eb45c5c54878999a2dff9a2e85a30c946b3 /Doc
parentbbf8d8baf0389b4bb20dfbdd48c62bc789e1a5fc (diff)
downloadzsh-53f0102525def32c358ed52e0a92ee976c1e393c.tar.gz
zsh-53f0102525def32c358ed52e0a92ee976c1e393c.tar.xz
zsh-53f0102525def32c358ed52e0a92ee976c1e393c.zip
zsh-workers/10135
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo21
1 files changed, 12 insertions, 9 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 13eebe7b1..9c38c3e27 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -2339,15 +2339,6 @@ quoted with a backslash.
 If the option may be given more than once, a star
 (`tt(*)') has to be added in front of the var(opt-spec).
 
-An var(opt-spec) may also contain a list of other option names with
-which the option described is mutually exclusive. Such a list is given 
-in parentheses at the beginning, as in `tt((-two -three)-one:...)'. In 
-this example, the options `tt(-two)' and `tt(-three)' will not be
-offered as possible completions if the option `tt(-one)' is on the
-line. Also, the list may contain a single colon as one of its elements 
-to specify that the descriptions for normal (non-option-) arguments
-should not be used if the option described is on the line.
-
 Finally, the var(opt-spec) may contain a explanation string. This is
 given in brackets at the end, as in `tt(-q[query operation])'. The
 tt(verbose) style is used to decide if these
@@ -2360,6 +2351,18 @@ first argument.
 )
 enditem()
 
+Every var(spec) may also contain a list of option names and argument
+numbers with which the option or argument described is mutually
+exclusive. Such a list is given in parentheses at the beginning, as in
+`tt((-two -three 1)-one:...)' or `tt((-foo):...)'. In the first
+example, the options `tt(-two)' and `tt(-three)' and the first
+argument will not be offered as possible completions if the option
+`tt(-one)' is on the line. Also, the list may contain a single star as
+one of its elements to specify that the description for the rest
+arguments should not be used and it may contain a colon to specify
+that the descriptions for all normal (non-option-) arguments should
+not be used.
+
 In each of the cases above, the var(action) says how the possible
 completions should be generated. In cases where only one of a fixed
 set of strings can be completed, these strings can directly be given as