X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=40da62b62057b9b346cf624fa381128bbd79d02e;hp=9ba0ec0308ae2b172b8410405a653e6f643e4840;hb=e7899b00d0948f5d8e75b22b9ce82037593ebcdd;hpb=44ea57a0d10ddab514abea319c4d25ec4e36b51e diff --git a/notmuch.c b/notmuch.c index 9ba0ec03..40da62b6 100644 --- a/notmuch.c +++ b/notmuch.c @@ -58,6 +58,7 @@ static const char search_terms_help[] = "\t\ttag: (or is:)\n" "\t\tid:\n" "\t\tthread:\n" + "\t\tfolder:\n" "\n" "\tThe from: prefix is used to match the name or address of\n" "\tthe sender of an email message.\n" @@ -82,6 +83,11 @@ static const char search_terms_help[] = "\tmessages). These thread ID values can be seen in the first\n" "\tcolumn of output from \"notmuch search\".\n" "\n" + "\tThe folder: prefix can be used to search for email message\n" + "\tfiles that are contained within particular directories within\n" + "\tthe mail store. Only the directory components below the top-level\n" + "\tmail database path are available to be searched.\n" + "\n" "\tIn addition to individual terms, multiple terms can be\n" "\tcombined with Boolean operators (\"and\", \"or\", \"not\", etc.).\n" "\tEach term in the query will be implicitly connected by a\n" @@ -542,6 +548,8 @@ main (int argc, char *argv[]) command_t *command; unsigned int i; + talloc_enable_null_tracking (); + local = talloc_new (NULL); g_mime_init (0);