aboutsummaryrefslogtreecommitdiff
path: root/completion/notmuch-completion.bash
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-11-02 20:44:59 +0200
committerDavid Bremner <david@tethera.net>2017-12-14 21:28:50 -0400
commitf3fc97c0008c1d48ccac88c52b5bae61460bfa3f (patch)
treed9db0e79e02c2d03f2cbd4cfe5c90fcc218b7759 /completion/notmuch-completion.bash
parentab4b033c70eab04c7080aacfbcd362548214340a (diff)
cli: add support for only printing the addresses in notmuch address
The notmuch address output is much more useful for scripts with just the addresses printed. Support this using the --output=address option.
Diffstat (limited to 'completion/notmuch-completion.bash')
-rw-r--r--completion/notmuch-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
index fb093de8..adf64a0a 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -472,7 +472,7 @@ _notmuch_address()
return
;;
--output)
- COMPREPLY=( $( compgen -W "sender recipients count" -- "${cur}" ) )
+ COMPREPLY=( $( compgen -W "sender recipients count address" -- "${cur}" ) )
return
;;
--sort)