[Mutt] #3202: man page -a too loosely worded
#3202: man page -a too loosely worded
---------------------+------------------------------------------------------
Reporter: jidanni | Owner: mutt-dev
Type: defect | Status: new
Priority: trivial | Milestone:
Component: mutt | Version: 1.5.19
Keywords: |
---------------------+------------------------------------------------------
I have a big problem with the man page's
{{{
-a file [...]
Attach a file to your message using MIME. To attach
multiple files, separating filenames and recipient
addresses with "--" is mandatory, e.g. mutt -a img.jpg *.png
-- addr1 addr2.
}}}
Kindly change it to:
{{{
-a file [...]
Attach a file to your message using MIME. Must be at the
end of the options, e.g.,
mutt [-s subject] -a file1 [file2...] -- addr1 [addr2...]
}}}
My tests showed that even attaching one file needs this format.
Dare to do any different and well, -s 'bob@xxxxxxxxxxx is a boob' will
get to bob, etc. risks.
Proof:
{{{
echo OK, here\'s an attached patch.|mutt -a patch -s 'RE: patch for
MessagesZh_{hant,tw}.php' jidanni
Can't stat jidanni: No such file or directory
jidanni: unable to attach file.
echo OK, here\'s an attached patch.|mutt -a patch -- -s 'RE: patch for
MessagesZh_{hant,tw}.php' jidanni
-s@xxxxxxxxxxx
Unrouteable address
patchforMessagesZh_{hant@xxxxxxxxxxx
Unrouteable address
tw}.php@xxxxxxxxxxx
Unrouteable address
To: -s@xxxxxxxxxxx, RE: patchforMessagesZh_{hant@xxxxxxxxxxx,
tw}.php@xxxxxxxxxxx, jidanni@xxxxxxxxxxx
}}}
(By the way, we quick users just look at the man page for quick
answers, no other docs.)
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3202>
Mutt <http://www.mutt.org/>
The Mutt mail user agent