]> git.notmuchmail.org Git - notmuch/commit
notmuch: Add a 'part' subcommand
authorDavid Edmondson <dme@dme.org>
Wed, 24 Mar 2010 07:21:20 +0000 (07:21 +0000)
committerDavid Edmondson <dme@dme.org>
Fri, 2 Apr 2010 08:43:03 +0000 (09:43 +0100)
commit2e9c7aba99598eafd7b5fc52897da14ea13af216
tree51a832c9dd92319c81735db321d35e13018ccb79
parent930a47935fcd87ff4ae6c0c14279fd136f5bd78b
notmuch: Add a 'part' subcommand

A new 'part' subcommand allows the user to extract a single part from
a MIME message. Usage:
  notmuch part --part=<n> <search terms>
The search terms must match only a single message
(e.g. id:foo@bar.com). The part number specified refers to the part
identifiers output by `notmuch show'. The content of the part is
written the stdout with no formatting or identification marks. It is
not JSON formatted.
notmuch-client.h
notmuch-show.c
notmuch.1
notmuch.c
show-message.c