From 997d40c05d608fd849bb0f4377f31218dc266b02 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 2 May 2000 10:30:41 +0000 Subject: add -x option to compadd to display message unconditionally --- Doc/Zsh/compwid.yo | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Doc/Zsh/compwid.yo') diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo index 5ef94a5c6..1ca6d11a6 100644 --- a/Doc/Zsh/compwid.yo +++ b/Doc/Zsh/compwid.yo @@ -395,7 +395,7 @@ xitem([ tt(-P) var(prefix) ] [ tt(-S) var(suffix) ]) xitem([ tt(-p) var(hidden-prefix) ] [ tt(-s) var(hidden-suffix) ]) xitem([ tt(-i) var(ignored-prefix) ] [ tt(-I) var(ignored-suffix) ]) xitem([ tt(-W) var(file-prefix) ] [ tt(-d) var(array) ]) -xitem([ tt(-J) var(name) ] [ tt(-V) var(name) ] [ tt(-X) var(explanation) ]) +xitem([ tt(-J) var(name) ] [ tt(-V) var(name) ] [ tt(-X) var(explanation) ] [ tt(-x) var(message) ]) xitem([ tt(-r) var(remove-chars) ] [ tt(-R) var(remove-func) ]) xitem([ tt(-D) var(array) ] [ tt(-O) var(array) ] [ tt(-A) var(array) ]) item([ tt(-M) var(match-spec) ] [ tt(--) ] [ var(words) ... ])( @@ -490,7 +490,12 @@ duplicates be kept. Again, groups with and without this flag are in different name spaces. ) item(tt(-X) var(explanation))( -The var(explanation) string will be printed with the list of matches. +The var(explanation) string will be printed with the list of matches, +above the group currently selected. +) +item(tt(-x) var(message))( +Like tt(-X), but the var(message) will be printed even if there are no +matches in the group. ) item(tt(-q))( The suffix given with tt(-S) will be automatically removed if -- cgit 1.4.1