summaryrefslogtreecommitdiffstats
path: root/completion
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2014-11-05 01:25:58 +0100
committerDavid Bremner <david@tethera.net>2014-11-05 23:25:05 +0100
commita5a6859197fb0b9cea7d75c4ec9377b9fc7d7285 (patch)
tree46d6d141f6b94454ef0de9e0b8cd912999fac80a /completion
parent4176e527fceb2c1f7a0b263fd8baac88be6fab4c (diff)
cli: address: Add --output=count
This output prints how many times was each address encountered during search.
Diffstat (limited to 'completion')
-rw-r--r--completion/notmuch-completion.bash2
-rw-r--r--completion/notmuch-completion.zsh2
2 files changed, 2 insertions, 2 deletions
diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
index 94ea2d56..db152f35 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -332,7 +332,7 @@ _notmuch_address()
return
;;
--output)
- COMPREPLY=( $( compgen -W "sender recipients" -- "${cur}" ) )
+ COMPREPLY=( $( compgen -W "sender recipients count" -- "${cur}" ) )
return
;;
--sort)
diff --git a/completion/notmuch-completion.zsh b/completion/notmuch-completion.zsh
index c606b751..89685620 100644
--- a/completion/notmuch-completion.zsh
+++ b/completion/notmuch-completion.zsh
@@ -61,7 +61,7 @@ _notmuch_address()
{
_arguments -s : \
'--sort=[sort results]:sorting:((newest-first\:"reverse chronological order" oldest-first\:"chronological order"))' \
- '--output=[select what to output]:output:((sender recipients))'
+ '--output=[select what to output]:output:((sender recipients count))'
}
_notmuch()