diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-04 15:53:07 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-04 15:53:07 -0800 |
commit | b1baaab2d53426b44adbbe93b067708a528edad0 (patch) | |
tree | cec68e1904b9e6df1219d4906395891071f609b4 | |
parent | 9f668b3d56baed92937180622462b7e1cca6b001 (diff) |
notmuch show: Add filename to output (next to message ID).
This will allow a client using "notmuch show" to directly open the
filename and do whatever it wants with it.
-rw-r--r-- | notmuch.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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"); |