* don't insist on using xdg-open; use "open" on MacOS or what MU_PLAY_PROGRAM sets
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
.TH MU EXTRACT 1 "May 2011" "User Manuals"
|
||||
|
||||
.SH NAME
|
||||
.SH NAME
|
||||
|
||||
mu extract\- display and save message parts (attachments), and open them with
|
||||
other tools.
|
||||
@ -57,8 +57,9 @@ allowed.
|
||||
|
||||
.TP
|
||||
\fB\-\-play\fR Try to 'play' (open) the attachment with the default
|
||||
application for the particular file type. Depends on the \fBxdg-open\fR
|
||||
utility.
|
||||
application for the particular file type. On MacOS, this uses the \fBopen\fR
|
||||
program, on other platforms is uses \fBxdg-open\fR. You can choose a different
|
||||
program by setting the \fBMU_PLAY_PROGRAM\fR environment variable.
|
||||
|
||||
.SH EXAMPLES
|
||||
|
||||
@ -78,8 +79,7 @@ To extract all files ending in '.jpg' (case-insensitive):
|
||||
$ mu extract msgfile '.*\.jpg'
|
||||
.fi
|
||||
|
||||
To extract an mp3-file, and play it in the the default mp3-playing application
|
||||
(requires \fIxdg-open\fR):
|
||||
To extract an mp3-file, and play it in the the default mp3-playing application.
|
||||
.nf
|
||||
$ mu extract --play msgfile 'whoopsididitagain.mp3'
|
||||
.fi
|
||||
@ -95,4 +95,4 @@ Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
|
||||
.SH "SEE ALSO"
|
||||
|
||||
.BR mu(1) xdg-open(1)
|
||||
.BR mu(1)
|
||||
|
||||
Reference in New Issue
Block a user