summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-21 01:29:08 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-21 01:29:08 +0000
commit674045d2fe74a10b250c232013991cff28af943b (patch)
tree260c84c005f47157204498de155649b0f03ca977 /Doc
parentzsh-users/2610 (diff)
downloadzsh-674045d2fe74a10b250c232013991cff28af943b.tar
zsh-674045d2fe74a10b250c232013991cff28af943b.tar.gz
zsh-674045d2fe74a10b250c232013991cff28af943b.tar.bz2
zsh-674045d2fe74a10b250c232013991cff28af943b.tar.lz
zsh-674045d2fe74a10b250c232013991cff28af943b.tar.xz
zsh-674045d2fe74a10b250c232013991cff28af943b.tar.zst
zsh-674045d2fe74a10b250c232013991cff28af943b.zip
zsh-workers/7943
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index c54fdb46d..4b4716a48 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -897,9 +897,9 @@ complete arguments of options whose description in the output of the
command from the line with the `tt(-)tt(-help)' option matches the
var(pattern). For example:
-example(_arguments -- '*\*' '(yes no)' \
- '*=FILE*' '_files' \
- '*=DIR*' '_files -/')
+example(_arguments -- '*\*:toggle:(yes no)' \
+ '*=FILE*:file:_files' \
+ '*=DIR*:directory:_files -/')
Here, `tt(yes)' and `tt(no)' will be completed as the argument of
options whose description ends in a star, file names for options that