X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=completion%2Fnotmuch-completion.bash;h=68b069013655f9f26e0f6e4a6301d9020f7b76d2;hp=960275d1f6727b139d2b2ccd680d95c982b4eec4;hb=ddbda8f501f7ad8b6e7ad59e2d8b6375b6438f49;hpb=f9d2ccf67b0534637c128fd088957604d0435e7c;ds=inline diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash index 960275d1..68b06901 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}) ) ;;