diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-02-18 14:36:01 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-02-18 14:36:01 +0000 |
commit | becf65dd7f1e512995eb928f212491d6b1cc8cc7 (patch) | |
tree | 675504523c72fbf12d1455e8801399cee82bb492 /Doc/Zsh/compsys.yo | |
parent | fa509f5219e18b664a7e559169d849b2ec9fb6f1 (diff) | |
download | zsh-becf65dd7f1e512995eb928f212491d6b1cc8cc7.tar.gz zsh-becf65dd7f1e512995eb928f212491d6b1cc8cc7.tar.xz zsh-becf65dd7f1e512995eb928f212491d6b1cc8cc7.zip |
allow an argument containing only a single colon as a separator between options to _arguments and specs (16669)
Diffstat (limited to 'Doc/Zsh/compsys.yo')
-rw-r--r-- | Doc/Zsh/compsys.yo | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 16eff6f77..73ada9ba2 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2996,12 +2996,15 @@ Like tt(_tags) this function supports the tt(-C) option to give a different name for the argument context field. ) findex(_arguments) -item(tt(_arguments) [ tt(-ACS) ] [ tt(-O) var(name) ] [ tt(-M) var(matchspec) ] var(spec) ...)( +item(tt(_arguments) [ tt(-ACS) ] [ tt(-O) var(name) ] [ tt(-M) var(matchspec) ] [ tt(:) ] var(spec) ...)( This function can be used to complete words on the line by describing the options and arguments which may be passed to the command for which completion is being performed. The description is given as arguments to this function, with each var(spec) describing one option or normal -argument of the command. The forms of var(spec) understood are: +argument of the command. To separate these var(spec)s from the +options given to tt(_arguments) itself, they can be preceeded by an +argument containing a single colon. The forms of var(spec) +understood are: startitem() xitem(var(n)tt(:)var(message)tt(:)var(action)) |