X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=f5669fcda2093cf5116f7bb99e7c5674745eb9d3;hp=b392c1c207833bc98d60499896a4b57eb162c559;hb=44df403ccd2fa637dfa543f749a949454245b182;hpb=a07962d3ec898f58507f71ada7af66f1c305cf60 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= ", + "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, "[]", "This message, or more detailed help for the named command.",