aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-02 15:40:13 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-02 15:47:27 -0700
commit44df403ccd2fa637dfa543f749a949454245b182 (patch)
tree7083af772edb3533713d0d2591644fd6520bfcdb /notmuch.c
parenta07962d3ec898f58507f71ada7af66f1c305cf60 (diff)
parent2e9c7aba99598eafd7b5fc52897da14ea13af216 (diff)
Merge remote branch 'dme/dme-for-cworth'
Conflicts: notmuch.c (Simply the change in documentation indentation level).
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/notmuch.c b/notmuch.c
index b392c1c2..f5669fcd 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -294,6 +294,17 @@ command_t commands[] = {
"\tcontain tags only from messages that match the search-term(s).\n"
"\n"
"\tIn both cases the list will be alphabetically sorted." },
+ { "part", notmuch_part_command,
+ "--part=<num> <search-terms>",
+ "Output a single MIME part of a message.",
+ "\tA single decoded MIME part, with no encoding or framing,\n"
+ "\tis output to stdout. The search terms must match only a single\n"
+ "\tmessage, otherwise this command will fail.\n"
+ "\n"
+ "\tThe part number should match the part \"id\" field output\n"
+ "\tby the \"--format=json\" option of \"notmuch show\". If the\n"
+ "\tmessage specified by the search terms does not include a\n"
+ "\tpart with the specified \"id\" there will be no output." },
{ "help", notmuch_help_command,
"[<command>]",
"This message, or more detailed help for the named command.",