unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] completion: handle notmuch address --deduplicate= option
@ 2015-09-26 11:12 Jani Nikula
  2015-10-17 16:30 ` [PATCH 1/3] completion: complete notmuch count --lastmod Jani Nikula
  0 siblings, 1 reply; 6+ messages in thread
From: Jani Nikula @ 2015-09-26 11:12 UTC (permalink / raw)
  To: notmuch

Complete notmuch address --deduplicate=(no|mailbox|address).
---
 completion/notmuch-completion.bash | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
index 960275d1f672..68b069013655 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -369,12 +369,16 @@ _notmuch_address()
 	    COMPREPLY=( $( compgen -W "true false flag all" -- "${cur}" ) )
 	    return
 	    ;;
+	--deduplicate)
+	    COMPREPLY=( $( compgen -W "no mailbox address" -- "${cur}" ) )
+	    return
+	    ;;
     esac
 
     ! $split &&
     case "${cur}" in
 	-*)
-	    local options="--format= --output= --sort= --exclude="
+	    local options="--format= --output= --sort= --exclude= --deduplicate="
 	    compopt -o nospace
 	    COMPREPLY=( $(compgen -W "$options" -- ${cur}) )
 	    ;;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-22 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-26 11:12 [PATCH] completion: handle notmuch address --deduplicate= option Jani Nikula
2015-10-17 16:30 ` [PATCH 1/3] completion: complete notmuch count --lastmod Jani Nikula
2015-10-17 16:30   ` [PATCH 2/3] completion: complete shared options for each command Jani Nikula
2015-10-17 16:30   ` [PATCH 3/3] completion: clean up top level completion Jani Nikula
2015-10-17 21:03     ` [PATCH] completion: complete lastmod: search prefix Jani Nikula
2015-10-22 12:56       ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).