martin f krafft wrote on Fri, Dec 31, 2021 at 15:26:24 +1300: > Regarding the following, written by "Daniel Shahaf" on 2021-12-31 at 02:16 > Uhr +0000: > > The two consecutive colons on the -a line mean the -a option takes an > > optional argument. > > Herein lies the problem: > > ``` > -a <file> [...] -- attach file(s) to the message > the list of files must be terminated with the "--" sequence > ``` > > So it's neither optional, nor even a single word by necessity.
Good catch. I think it's possible to teach _mutt how to complete this in the general case, but the details are better hashed out upstream (zsh-work...@zsh.org). Cheers, Daniel