diff options
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r-- | notmuch-reply.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c index 8f23cea2..7ac879f9 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -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++; |