aboutsummaryrefslogtreecommitdiff
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-03-22 07:54:50 -0300
committerDavid Bremner <david@tethera.net>2016-05-25 07:07:56 -0300
commite042a25a3fd8706b6e1ee7bdf527bb17ecb74c6a (patch)
tree9db7e61d5efce86c2c8e6fdece0d132d7c9eef9e /notmuch-new.c
parent92e59568fa4eec466db78af6c21c39ca5826b0d7 (diff)
CLI: add optional config data to dump output.
Note that it changes the default dump output format, but doesn't break existing notmuch-restore. It might break user scripts though.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r--notmuch-new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index 2d975eb5..8d1545e1 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -1042,7 +1042,7 @@ notmuch_new_command (notmuch_config_t *config, int argc, char *argv[])
}
if (notmuch_database_dump (notmuch, backup_name, "",
- DUMP_FORMAT_BATCH_TAG, TRUE)) {
+ DUMP_FORMAT_BATCH_TAG, DUMP_INCLUDE_CONFIG | DUMP_INCLUDE_TAGS, TRUE)) {
fprintf (stderr, "Backup failed. Aborting upgrade.");
return EXIT_FAILURE;
}