diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-12 09:32:45 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-12 09:32:45 +0000 |
commit | 0f076fcde8a342c081b8eab0a2f135335d552d79 (patch) | |
tree | 13bf91d328057d7b41df879e7ad80128f70baeab /Doc/Zsh | |
parent | 0749034911b1e28d4d9abba5472201972a5e37ce (diff) | |
download | zsh-0f076fcde8a342c081b8eab0a2f135335d552d79.tar.gz zsh-0f076fcde8a342c081b8eab0a2f135335d552d79.tar.xz zsh-0f076fcde8a342c081b8eab0a2f135335d552d79.zip |
manual/8219
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compsys.yo | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 7c38dac27..8c393620e 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -753,7 +753,8 @@ startitem() item(var(n)tt(:)var(message)tt(:)var(action))( This describes the var(n)'th normal argument. The var(message) will be printed above the matches generated and the var(action) says what can -be completed in this position (see below). +be completed in this position (see below). If there are two colons +before the var(message), this describes an optional argument. ) item(tt(:)var(message)tt(:)var(action))( Like the previous one, but describing the em(next) argument. I.e. if @@ -766,10 +767,12 @@ This describes how arguments are to be completed for which no description with one of the first two forms was given. This also means that any number of arguments can be completed. -If there are two colons before the message (as in +If there are two colons before the var(message) (as in `tt(*::)var(message)tt(:)var(action)') the tt(words) special array and the tt(CURRENT) special parameter will be restricted to only the -normal arguments when the var(action) is executed or evaluated. +normal arguments when the var(action) is executed or evaluated. With +three colons before the var(message) they will be restructed to only +the normal arguments covered by this description. ) item(var(opt-spec)[var(description) ...])( This describes an option and (if at least one var(description) is |