X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/blobdiff_plain/28d7544ae2adfe6467c6b64a3284f5ed13f81e1a..9ee29ad6f0805dc55e63f8a04a68a1f55d0c382b:/notmuch-setup.c diff --git a/notmuch-setup.c b/notmuch-setup.c index 36a6171a..9aaf9286 100644 --- a/notmuch-setup.c +++ b/notmuch-setup.c @@ -145,6 +145,13 @@ notmuch_setup_command (notmuch_config_t *config, chomp_newline (response); \ } while (0) + if (notmuch_minimal_options ("setup", argc, argv) < 0) + return EXIT_FAILURE; + + if (notmuch_requested_db_uuid) + fprintf (stderr, "Warning: ignoring --uuid=%s\n", + notmuch_requested_db_uuid); + if (notmuch_config_is_new (config)) welcome_message_pre_setup ();