]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
NEWS: fix some old typos and trailing whitespace
[notmuch] / notmuch-reply.c
index 8f23cea23129108e7abf3985950f65bb43eed225..7ac879f94419aa4d7783a0cb6d0be8912baad79b 100644 (file)
@@ -628,6 +628,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++;