]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - completion/notmuch-completion.zsh
cli: Extend the search command for --output=addresses and similar
[notmuch.git] / completion / notmuch-completion.zsh
index 67a9aba85f694f0fe652f1e92a27b5202c39de32..bff8fd5bbf6240deada0255a8bd3188c85f92f70 100644 (file)
@@ -52,7 +52,8 @@ _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))'
 }
 
 _notmuch()