]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - completion/notmuch-completion.zsh
cli: search: Add configurable way to filter out duplicate addresses
[notmuch.git] / completion / notmuch-completion.zsh
index 67a9aba85f694f0fe652f1e92a27b5202c39de32..3e535df31997b6d569406099d69ce1acbbd1a1c1 100644 (file)
@@ -52,7 +52,9 @@ _notmuch_search()
   _arguments -s : \
     '--max-threads=[display only the first x threads from the search results]:number of threads to show: ' \
     '--first=[omit the first x threads from the search results]:number of threads to omit: ' \
-    '--sort=[sort results]:sorting:((newest-first\:"reverse chronological order" oldest-first\:"chronological order"))'
+    '--sort=[sort results]:sorting:((newest-first\:"reverse chronological order" oldest-first\:"chronological order"))' \
+    '--output=[select what to output]:output:((summary threads messages files tags sender recipients))' \
+    '--filter-by=[filter out duplicate addresses]:filter-by:((nameaddr\:"both name and address part" name\:"name part" addr\:"address part" addrfold\:"case-insensitive address part" nameaddrfold\:"name and case-insensitive address part"))'
 }
 
 _notmuch()