]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - completion/notmuch-completion.zsh
cli: address: Add --filter-by option to configure address filtering
[notmuch.git] / completion / notmuch-completion.zsh
index c606b75172e8361522e8bb70cb7e883811c4a652..c5bad216abf1b4046ad265544dd9a74523100300 100644 (file)
@@ -61,7 +61,8 @@ _notmuch_address()
 {
   _arguments -s : \
     '--sort=[sort results]:sorting:((newest-first\:"reverse chronological order" oldest-first\:"chronological order"))' \
-    '--output=[select what to output]:output:((sender recipients))'
+    '--output=[select what to output]:output:((sender recipients count))' \
+    '--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()