about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-23 13:34:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-23 13:34:52 +0000
commit4f9c07dc05d25b8b4abf1d6e9886cebd9b5ed7bf (patch)
tree229bf9ce7341238cab71d01c8c3f65c99e1bea5a /Doc/Zsh/contrib.yo
parent6763a3cc555fcf216e2be15ab3b866ead0138e0f (diff)
downloadzsh-4f9c07dc05d25b8b4abf1d6e9886cebd9b5ed7bf.tar.gz
zsh-4f9c07dc05d25b8b4abf1d6e9886cebd9b5ed7bf.tar.xz
zsh-4f9c07dc05d25b8b4abf1d6e9886cebd9b5ed7bf.zip
25236: zsh-mime-setup -l arguments
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r--Doc/Zsh/contrib.yo10
1 files changed, 8 insertions, 2 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 042a5bd9c..645894692 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1504,7 +1504,7 @@ command to an appropriate viewer.
 startitem()
 findex(zsh-mime-setup)
 findex(zsh-mime-handler)
-xitem(tt(zsh-mime-setup [-flv]))
+xitem(tt(zsh-mime-setup) [ tt(-fv) ] [ tt(-l) [ var(suffix ...) ] ])
 item(tt(zsh-mime-handler))(
 These two functions use the files tt(~/.mime.types) and tt(/etc/mime.types),
 which associate types and extensions, as well as tt(~/.mailcap) and
@@ -1525,8 +1525,14 @@ Repeated calls to tt(zsh-mime-setup) do not override the existing
 mapping between suffixes and executable files unless the option tt(-f)
 is given.  Note, however, that this does not override existing suffix
 aliases assigned to handlers other than tt(zsh-mime-handler).
+
 Calling tt(zsh-mime-setup) with the option tt(-l) lists the existing
-mappings without altering them.  Calling tt(zsh-mime-setup) with the option
+mappings without altering them.  Suffixes to list (which may contain
+pattern characters that should be quoted from immediate interpretation
+on the command line) may be given as additional arguments, otherwise
+all suffixes are listed.
+
+Calling tt(zsh-mime-setup) with the option
 tt(-v) causes verbose output to be shown during the setup operation.
 
 The system respects the tt(mailcap) flags tt(needsterminal) and