]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
man/*: formatting cleanup
[notmuch] / notmuch-reply.c
index 8f23cea23129108e7abf3985950f65bb43eed225..f8d5f64716e2a47e39a2d6767f4e36eeab980d5a 100644 (file)
@@ -546,8 +546,7 @@ notmuch_reply_format_default(void *ctx,
                notmuch_message_get_header (message, "date"),
                notmuch_message_get_header (message, "from"));
 
-       show_message_body (notmuch_message_get_filename (message),
-                          format, params);
+       show_message_body (message, format, params);
 
        notmuch_message_destroy (message);
     }
@@ -628,6 +627,8 @@ notmuch_reply_command (void *ctx, int argc, char *argv[])
     params.part = -1;
     params.cryptoctx = NULL;
 
+    argc--; argv++; /* skip subcommand argument */
+
     for (i = 0; i < argc && argv[i][0] == '-'; i++) {
        if (strcmp (argv[i], "--") == 0) {
            i++;