]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
notmuch show: Add filename to output (next to message ID).
[notmuch] / notmuch.c
index d8c2ccd1905ab29dfcd4d0f3b78e80936abc13c5..06c5aa4666911f49e1688de9603d27ec61dba15c 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -1116,8 +1116,9 @@ show_command (void *ctx, unused (int argc), unused (char *argv[]))
     {
        message = notmuch_messages_get (messages);
 
-       printf ("\fmessage{ ID: %s\n",
-               notmuch_message_get_message_id (message));
+       printf ("\fmessage{ ID: %s Filename: %s\n",
+               notmuch_message_get_message_id (message),
+               notmuch_message_get_filename (message));
 
        printf ("\fheader{\n");