diff --git a/man/mu-extract.1 b/man/mu-extract.1 index 7a04013e..f3adde7d 100644 --- a/man/mu-extract.1 +++ b/man/mu-extract.1 @@ -1,4 +1,4 @@ -.TH MU EXTRACT 1 "May 2012" "User Manuals" +.TH MU EXTRACT 1 "July 2012" "User Manuals" .SH NAME @@ -13,8 +13,8 @@ other tools. .SH DESCRIPTION \fBmu extract\fR is the \fBmu\fR sub-command for extracting MIME-parts (e.g., -attachments) from mail messages. It works on message files, and does not -require the message to be indexed in the database. +attachments) from mail messages. The sub-command works on message files, and +does not require the message to be indexed in the database. For attachments, the file name used when saving it, is the name of the attachment in the message. If there is no such name, or when saving diff --git a/mu/mu-cmd-extract.c b/mu/mu-cmd-extract.c index 7240497a..50b2eaee 100644 --- a/mu/mu-cmd-extract.c +++ b/mu/mu-cmd-extract.c @@ -242,9 +242,9 @@ save_certain_parts (MuMsg *msg, gboolean attachments_only, sd.targetdir = targetdir; sd.play = play; - mu_msg_part_foreach (msg, FALSE, + mu_msg_part_foreach (msg, (MuMsgPartForeachFunc)save_part_if, - &sd); + &sd, MU_MSG_PART_OPTION_NONE); if (sd.saved_num == 0) { g_warning ("no %s extracted from this message", @@ -345,8 +345,9 @@ show_parts (const char* path, MuConfig *opts, GError **err) g_print ("MIME-parts in this message:\n"); mu_msg_part_foreach - (msg, FALSE, (MuMsgPartForeachFunc)each_part_show, - GUINT_TO_POINTER(!opts->nocolor)); + (msg, (MuMsgPartForeachFunc)each_part_show, + GUINT_TO_POINTER(!opts->nocolor), + MU_MSG_PART_OPTION_NONE); mu_msg_unref (msg);