X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=5b0284cd9d731e882d6358ba5bc47af4b2364847;hp=24f872882471baa50482a8730d63504046c05c23;hb=5d447f327f3eb2dcb8e1ccde3ff3f444c2060e64;hpb=793cbf80495b8230e0b4de6ac609e2ca88b7dd4b diff --git a/notmuch.c b/notmuch.c index 24f87288..5b0284cd 100644 --- a/notmuch.c +++ b/notmuch.c @@ -104,7 +104,7 @@ static const char search_terms_help[] = "\t\tfollowing syntax would specify a date range to return messages\n" "\t\tfrom 2009-10-01 until the current time:\n" "\n" - "\t\t\t$(date +%s -d 2009-10-01)..$(date +%s)\n\n"; + "\t\t\t$(date +%%s -d 2009-10-01)..$(date +%%s)\n\n"; command_t commands[] = { { "setup", notmuch_setup_command, @@ -162,16 +162,6 @@ command_t commands[] = { "\n" "\t\tSupported options for search include:\n" "\n" - "\t\t--max-threads=\n" - "\n" - "\t\t\tRestricts displayed search results to a subset\n" - "\t\t\tof the results that would match the terms.\n" - "\n" - "\t\t--first=\n" - "\n" - "\t\t\tOmits the first threads from the search\n" - "\t\t\tresults that would otherwise be displayed.\n" - "\n" "\t\t--sort=(newest-first|oldest-first)\n" "\n" "\t\t\tPresent results in either chronological order\n" @@ -264,6 +254,15 @@ command_t commands[] = { "\t\tSo if you've previously been using sup for mail, then the\n" "\t\t\"notmuch restore\" command provides you a way to import\n" "\t\tall of your tags (or labels as sup calls them)." }, + { "search-tags", notmuch_search_tags_command, + "[ [...] ]", + "\t\tList all tags found in the database or matching messages.", + "\t\tRun this command without any search-term(s) to obtain a list\n" + "\t\tof all tags found in the database. If you provide one or more\n" + "\t\tsearch-terms as argument(s) then the resulting list will\n" + "\t\tcontain tags only from messages that match the search-term(s).\n" + "\n" + "\t\tIn both cases the list will be alphabetically sorted." }, { "help", notmuch_help_command, "[]", "\t\tThis message, or more detailed help for the named command.",