Re: [PATCH] cli: add --headers_only option to notmuch-show.c

Subject: Re: [PATCH] cli: add --headers_only option to notmuch-show.c

Date: Sat, 7 Jul 2012 09:21:07 +0300

To: Peter Wang

Cc: Notmuch Mail

From: Jani Nikula


On Jul 7, 2012 4:22 AM, "Peter Wang" <novalazy@gmail.com> wrote:
>
> On Sat, 30 Jun 2012 08:33:15 +0100, Mark Walters <
markwalters1009@gmail.com> wrote:
> > This option just outputs the headers of a message (i.e. it omits the
> > bodies). Currently this is only implemented for format=json.
>
> I think the option would be better named --output-body=yes|no,
> especially if we end up with --output-headers.

Drive-by bikeshedding: --output={headers,body,all,whatnot}

Would be cool if we could support multiple comma separated keywords.

J.

>
> Peter
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

Thread: