]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
Add 'cat' subcommand
[notmuch] / notmuch.c
index 030e49429f6ed529c92a843b965179cc91fd19a8..0eba89a38e30f48d20c67ef0d6b6ef8ba104ac20 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -343,6 +343,10 @@ 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." },
+    { "cat", notmuch_cat_command,
+      "<search-terms>",
+      "Output raw content of a single message matched by the search term.",
+      "" },
     { "part", notmuch_part_command,
       "--part=<num> <search-terms>",
       "Output a single MIME part of a message.",