X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=5b0284cd9d731e882d6358ba5bc47af4b2364847;hp=f45b6924646db094b877fd3a21c4bb3dbb7850c4;hb=de064f177202b8e7ec4073eef24b17f91eba11c8;hpb=1fd8b7866f189a66e4491b01452f476371759f91 diff --git a/notmuch.c b/notmuch.c index f45b6924..5b0284cd 100644 --- a/notmuch.c +++ b/notmuch.c @@ -254,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.",