diff options
| author | Jani Nikula <jani@nikula.org> | 2015-09-26 14:12:50 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-10-21 21:21:45 -0300 |
| commit | ddbda8f501f7ad8b6e7ad59e2d8b6375b6438f49 (patch) | |
| tree | 47dde920060f94a6786669194ee8cf378cfd19ce /completion | |
| parent | f9d2ccf67b0534637c128fd088957604d0435e7c (diff) | |
completion: handle notmuch address --deduplicate= option
Complete notmuch address --deduplicate=(no|mailbox|address).
Diffstat (limited to 'completion')
| -rw-r--r-- | completion/notmuch-completion.bash | 6 |
1 files changed, 5 insertions, 1 deletions
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}) ) ;; |
