notmuch dump: default to batch-tag format.
authorDavid Bremner <david@tethera.net>
Thu, 23 Jan 2014 13:02:46 +0000 (09:02 -0400)
committerDavid Bremner <david@tethera.net>
Fri, 24 Jan 2014 12:52:09 +0000 (08:52 -0400)
Although we didn't formally deprecate the old format, the new one has
been available for a year.

NEWS
notmuch-dump.c

diff --git a/NEWS b/NEWS
index 28788d8dc85bd3b426effaf0d5d5828c3f7f92f1..65679ebbce5b2219f8a0e6ea591277858bb07f12 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,13 @@
+Notmuch 0.18 (UNRELEASED)
+=========================
+
+Command-Line Interface
+----------------------
+
+`notmuch dump` now defaults to `batch-tag` format.
+
+  The old format is still available with `--format=sup`.
+
 Notmuch 0.17 (2013-12-30)
 =========================
 
index f8edda76ca011b928e948300e522f7815dc1dbf3..158142f55b4992c53de1396e7e557536b9074ec8 100644 (file)
@@ -40,7 +40,7 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[])
     char *output_file_name = NULL;
     int opt_index;
 
-    int output_format = DUMP_FORMAT_SUP;
+    int output_format = DUMP_FORMAT_BATCH_TAG;
 
     notmuch_opt_desc_t options[] = {
        { NOTMUCH_OPT_KEYWORD, &output_format, "format", 'f',