]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - completion/notmuch-completion.zsh
cli: Add configurable address deduplication for --output=addresses
[notmuch.git] / completion / notmuch-completion.zsh
index 67a9aba85f694f0fe652f1e92a27b5202c39de32..cf4968cc8a6bdecba3f97c9b634869bbae9d9305 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 addresses))' \
+    '--unique=[address deduplication]:unique:((none\:"no deduplication" addr\:"deduplicate by address" addrfold\:"deduplicate by case-insensitive address" name\:"deduplicate by name"))'
 }
 
 _notmuch()