]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
completion: complete notmuch count --lastmod
[notmuch] / completion / notmuch-completion.bash
index 960275d1f6727b139d2b2ccd680d95c982b4eec4..1552c1e51db7403aba3d791dce045317f846f9c0 100644 (file)
@@ -162,7 +162,7 @@ _notmuch_count()
     ! $split &&
     case "${cur}" in
        -*)
-           local options="--output= --exclude= --batch --input="
+           local options="--output= --exclude= --batch --input= --lastmod"
            compopt -o nospace
            COMPREPLY=( $(compgen -W "$options" -- ${cur}) )
            ;;
@@ -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}) )
            ;;