mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-23 19:38:07 +01:00
completion: handle notmuch address --deduplicate= option
Complete notmuch address --deduplicate=(no|mailbox|address).
This commit is contained in:
parent
f9d2ccf67b
commit
ddbda8f501
1 changed files with 5 additions and 1 deletions
|
@ -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}) )
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue