X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;fp=notmuch-restore.c;h=2a534dc4544886febb16a246c2caf8d60245baf0;hp=584d9f96ade8dc33a12213b4df6384ed553f9027;hb=0018a8d787a98f80c665061daa9b0c73839d3666;hpb=0706e0e3e2da9abf0487ec91a505de82cf5e5c10 diff --git a/notmuch-restore.c b/notmuch-restore.c index 584d9f96..2a534dc4 100644 --- a/notmuch-restore.c +++ b/notmuch-restore.c @@ -154,6 +154,7 @@ notmuch_restore_command (notmuch_config_t *config, int argc, char *argv[]) { 0, 0 } } }, { NOTMUCH_OPT_STRING, &input_file_name, "input", 'i', 0 }, { NOTMUCH_OPT_BOOLEAN, &accumulate, "accumulate", 'a', 0 }, + { NOTMUCH_OPT_INHERIT, (void *) ¬much_shared_options, NULL, 0, 0 }, { 0, 0, 0, 0, 0 } }; @@ -163,6 +164,7 @@ notmuch_restore_command (notmuch_config_t *config, int argc, char *argv[]) goto DONE; } + notmuch_process_shared_options (argv[0]); name_for_error = input_file_name ? input_file_name : "stdin"; if (! accumulate)