Hello Daniel,

On Sun 10 Nov 2019 at 11:47AM -05, Daniel Kahn Gillmor wrote:

> Turns out that type=bool doesn't really do what we want it to do (see
> https://bugs.python.org/issue37564), and there is no built-in easy
> answer for argparse to accept a boolean value sensibly
> (e.g. type='bool', which might be able to handle "yes" and "no" and
> "1" and "0" and "on" and "off" as well as "true" and "false", etc)

This is a frustrating limitation, indeed.

> So rather than implement all of that here, we'll just have
> --use-gpg-agent as a simple flag.  This is an API change, but the
> previous API has only been out for a few days, and the tool is
> documented for interactive use.

Can you add the --no-use-gpg-agent option now, please?

I'd like to give users the option of immunising themselves from any
defaults change if they embed a call to email-print-mime-structure in
some sort of script.

We've said that machines should not try to parse the output of
email-print-mime-structure, but someone might still use a wrapper to
call email-print-mime-structure, even if that wrapper does nothing with
the output other than show it to a human.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to