X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=1cce004a06d4dd8b0d8a402474a771c94e8fe155;hp=081b504c93b044ba709669752e24f029697ff123;hb=HEAD;hpb=eef21c284742fa5ae14d7d352acc3a4dc98821ce diff --git a/notmuch-restore.c b/notmuch-restore.c index 081b504c..1cce004a 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -219,8 +219,7 @@ parse_sup_line (void *ctx, char *line, } int -notmuch_restore_command (unused(notmuch_config_t *config), notmuch_database_t *notmuch, - int argc, char *argv[]) +notmuch_restore_command (notmuch_database_t *notmuch, int argc, char *argv[]) { bool accumulate = false; tag_op_flag_t flags = 0; @@ -273,8 +272,7 @@ notmuch_restore_command (unused(notmuch_config_t *config), notmuch_database_t *n goto DONE; } - notmuch_process_shared_options (argv[0]); - notmuch_exit_if_unmatched_db_uuid (notmuch); + notmuch_process_shared_options (notmuch, argv[0]); if (include == 0) { include = DUMP_INCLUDE_CONFIG | DUMP_INCLUDE_PROPERTIES | DUMP_INCLUDE_TAGS;