On Mon, Aug 02, 2010 at 12:12:27PM -0500, Will Fiveash wrote:
Yep, I struggled with this change recently.  It would be nice if mutt's
help output for -a was updated with this important usage tidbit.  Here's
what it looks like now:

Mutt 1.5.20 (2010-04-22)
usage: mutt [<options>] [-z] [-f <file> | -yZ]
      mutt [<options>] [-x] [-Hi <file>] [-s <subj>] [-bc <addr>] [-a <file> [...] 
--] <addr> [...]
      mutt [<options>] [-x] [-s <subj>] [-bc <addr>] [-a <file> [...] --] <addr> 
[...] < message
      mutt [<options>] -p
      mutt [<options>] -A <alias> [...]
      mutt [<options>] -Q <query> [...]
      mutt [<options>] -D
      mutt -v[v]

options:
 -A <alias>    expand the given alias
 -a <file>     attach a file to the message
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This should be:
 -a <file>     attach one or more files to the message, must be terminated with " 
--"

BTW, I do notice now that the terse usage does indicate -- termination
but I didn't look at that closely initially.

At the end of the help output there is this:

  --            separate filename(s) and recipients,
                when using -a, -- is mandatory

I agree it would make more sense to put that nearer to the text for the -a option. Something like:

  -a <file> [...] --      attach file(s) to the message
                the list of files must be terminated with the "--" sequence

me

Attachment: pgpxw4bZlyAU4.pgp
Description: PGP signature

Reply via email to