* On 02 Aug 2010, Nicolas Williams wrote: 
> On Sun, Aug 01, 2010 at 10:52:01PM -0500, David Champion wrote:
> > Syntax has been changed: -a indicates a *list* of attachment files
> > ending with "--". I don't recall which version was first to boast this
> > new syntax, but it's the problem you're seeing right now even if it's
> > not related to the problem you saw earlier.
> > 
> > Try:
> > 
> > mutt -s test -a Bild.jpg -- [email protected] <body.txt
> 
> I recommend against this use of '--'.  It makes it harder to write
> wrapper scripts that parse the same arguments using getopt/ getopts, for
> example.  Sadly, I don't have a counter-proposal, nor am I suggesting
> this get ripped out now.

I'm not fond of it either, but there was fairly extensive
discussion when it was committed in April 2007.  See mutt-users
<[email protected]> and mutt-dev
<[email protected]> for thread heads.

I think your specific concern may be exempted by the implementation
used.

-- 
 -D.    [email protected]    IT Services    University of Chicago

Reply via email to