]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
notmuch: New command 'search-tags'.
[notmuch] / notmuch.c
index f45b6924646db094b877fd3a21c4bb3dbb7850c4..c57bb5c5eef8cc47ff3f8dbf83d1f8b48c75c28f 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -254,6 +254,12 @@ 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,
+      NULL,
+      "List all tags found in the database.",
+      "\t\tThis command returns an alphabetically sorted list of all tags\n"
+      "\t\tthat are present in the database. In other words, the resulting\n"
+      "\t\tlist is a collection of all tags from all messages." },
     { "help", notmuch_help_command,
       "[<command>]",
       "\t\tThis message, or more detailed help for the named command.",