From 77f9967f32aa39ea0290162e0c3921a0ebca394e Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 7 Sep 1999 11:36:10 +0000 Subject: manual/7687 --- Doc/Zsh/compsys.yo | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index d7c8be4a1..540751740 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -938,7 +938,9 @@ 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. +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 @@ -977,6 +979,10 @@ first word which can be given as arguments to the tt(compadd) and tt(compgen) builtins and which make sure that the var(message) given in the description will be shown above the matches. +In places where no sensible matches can be generated, the action +should consist of only a space. This will make the var(message) be +displayed but no possible completions listed. + To include a colon in the var(message) or the var(action), it has to be preceded by a backslash. -- cgit 1.4.1