X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-new.c;h=8ff1ade70e49565b0c456272e51133e2e7c9bf17;hp=5ac7eedff70bfff763bbe29e39a3f369f7537650;hb=783a559968968a407cbaa42249613216c27d54f8;hpb=d08af93c65310c2d5ec8033040854f8ff4e5550f diff --git a/notmuch-new.c b/notmuch-new.c index 5ac7eedf..8ff1ade7 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -934,6 +934,7 @@ notmuch_new_command (notmuch_config_t *config, int argc, char *argv[]) { NOTMUCH_OPT_BOOLEAN, &verbose, "verbose", 'v', 0 }, { NOTMUCH_OPT_BOOLEAN, &add_files_state.debug, "debug", 'd', 0 }, { NOTMUCH_OPT_BOOLEAN, &no_hooks, "no-hooks", 'n', 0 }, + { NOTMUCH_OPT_INHERIT, (void *) ¬much_shared_options, NULL, 0, 0 }, { 0, 0, 0, 0, 0 } }; @@ -941,6 +942,8 @@ notmuch_new_command (notmuch_config_t *config, int argc, char *argv[]) if (opt_index < 0) return EXIT_FAILURE; + notmuch_process_shared_options (argv[0]); + /* quiet trumps verbose */ if (quiet) add_files_state.verbosity = VERBOSITY_QUIET;