Re: [PATCH] cli: add support for only printing the addresses in notmuch address

Subject: Re: [PATCH] cli: add support for only printing the addresses in notmuch address

Date: Tue, 19 Dec 2017 23:16:16 -0800

To: Jani Nikula, Daniel Kahn Gillmor, notmuch@notmuchmail.org

Cc:

From: Jameson Graef Rollins


On Wed, Dec 20 2017, Jani Nikula <jani@nikula.org> wrote:
> ~$ notmuch address --output=sender --output=recipients --output=address --output=count id:878tdy8a2q.fsf@ligo.caltech.edu
> 1	notmuch@notmuchmail.org
> 1	jrollins@finestructure.net
> 1	dkg@fifthhorseman.net
> 1	jani@nikula.org
>
> I prefer this to separate options.

Really?  If each is just a switch then why not:

~$ notmuch address --sender --recipients --address --count id:878tdy8a2q.fsf@ligo.caltech.edu

?  It's just shorter, right?

Also, this behavior is quite different than for search, in which only
the last --output applies.

> notmuch search uses separate --entire-thread, --body, and --include-html
> options, and I think those are getting messy.

The seem less messy than a "--output=" prefixed version of the same.

jamie.
signature.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: