about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-02-18 10:11:05 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-02-18 10:11:05 +0000
commitf8260fce2e423e8ba71d3d0637c3ba359fd8116f (patch)
tree9f3ace6e128fd165467648a16f1f8eac10751b2d /Doc
parenta76b8ea1a52442c2a287db12305b34c3e2b16f7f (diff)
downloadzsh-f8260fce2e423e8ba71d3d0637c3ba359fd8116f.tar.gz
zsh-f8260fce2e423e8ba71d3d0637c3ba359fd8116f.tar.xz
zsh-f8260fce2e423e8ba71d3d0637c3ba359fd8116f.zip
zsh-workers/9790
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo7
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 0d84044c4..119ff8f2b 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1922,7 +1922,7 @@ _description expl files file
 compadd "$expl[@]" - "$files[@]")
 )
 findex(_message)
-item(tt(_message) var(descr))(
+item(tt(_message) [ -r ] var(descr))(
 The var(descr) is used like the third
 argument to the tt(_description) function. However, the resulting
 string will always be shown whether or not matches were
@@ -1932,6 +1932,11 @@ completions can be generated automatically.
 This function also uses the tt(format) style for the tt(messages) tag in
 preference to the tt(format) style for the tt(descriptions) tag. The
 latter is used only if the former is unset.
+
+If the tt(-r) option is given, no style is used and the var(descr) is
+used literally as the string to display. This is only used in cases
+where that string is taken from some pre-processed argument list
+containing an expanded description.
 )
 findex(_setup)
 item(tt(_setup) var(tag))(