about summary refs log tree commit diff
path: root/Doc/Zsh/compsys.yo
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-09-22 11:16:32 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-09-22 11:16:32 +0900
commit53fcadc1f8a735ee0194ec83bebe1afd6ff14d1c (patch)
tree6c4061e3b462c9526f768b9f4fe1e746d614bbd9 /Doc/Zsh/compsys.yo
parent729f6ddfff8a229c404f0ec2b9d83c89395e541d (diff)
downloadzsh-53fcadc1f8a735ee0194ec83bebe1afd6ff14d1c.tar.gz
zsh-53fcadc1f8a735ee0194ec83bebe1afd6ff14d1c.tar.xz
zsh-53fcadc1f8a735ee0194ec83bebe1afd6ff14d1c.zip
36578: option in a set has key "set-opt" in $opt_args
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r--Doc/Zsh/compsys.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index d067795dd..d6b180301 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -3982,6 +3982,11 @@ possible completions.  When it contains `tt(-d)' or an argument, the
 option `tt(-c)' will not be considered.  However, after `tt(-a)'
 both sets will still be considered valid.
 
+If an option in a set appears on the command line, it is stored in the
+associative array `tt(opt_args)' with 'var(set)tt(-)var(option)'
+as a key.  In the example above, a key `tt(set1--c)' is used if the option
+`tt(-c)' is on the command line.
+
 If the name given for one of the mutually exclusive sets is of the form
 `tt(LPAR())var(name)tt(RPAR())' then only one value from each set will ever
 be completed; more formally, all specifications are mutually