]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-config.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-config.c
index 1f0112887d0eeebbc6f61c9ac9857f758a8e197b..85fc7745bb81bb5b5d6b1c41c0bd7fb99ac49e91 100644 (file)
@@ -47,7 +47,10 @@ static const char new_config_comment[] =
     "\t        added to all messages incorporated by \"notmuch new\".\n"
     "\n"
     "\tignore  A list (separated by ';') of file and directory names\n"
-    "\t        that will not be searched for messages by \"notmuch new\".\n";
+    "\t        that will not be searched for messages by \"notmuch new\".\n"
+    "\n"
+    "\t        NOTE: *Every* file/directory that goes by one of those names will\n"
+    "\t        be ignored, independent of its depth/location in the mail store.\n";
 
 static const char user_config_comment[] =
     " User configuration\n"
@@ -748,7 +751,7 @@ notmuch_config_command_get (void *ctx, char *item)
        for (i = 0; i < length; i++)
            printf ("%s\n", value[i]);
 
-       free (value);
+       g_strfreev (value);
     }
 
     notmuch_config_close (config);