]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
completion: handle notmuch address --deduplicate= option
[notmuch] / completion / notmuch-completion.bash
index 960275d1f6727b139d2b2ccd680d95c982b4eec4..68b069013655f9f26e0f6e4a6301d9020f7b76d2 100644 (file)
@@ -369,12 +369,16 @@ _notmuch_address()
            COMPREPLY=( $( compgen -W "true false flag all" -- "${cur}" ) )
            return
            ;;
            COMPREPLY=( $( compgen -W "true false flag all" -- "${cur}" ) )
            return
            ;;
+       --deduplicate)
+           COMPREPLY=( $( compgen -W "no mailbox address" -- "${cur}" ) )
+           return
+           ;;
     esac
 
     ! $split &&
     case "${cur}" in
        -*)
     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}) )
            ;;
            compopt -o nospace
            COMPREPLY=( $(compgen -W "$options" -- ${cur}) )
            ;;