summaryrefslogtreecommitdiffstats
path: root/completion
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-12-19 11:40:55 -0500
committerDavid Bremner <david@tethera.net>2017-12-29 16:45:55 -0400
commitaf8255fb7159652a7d4e1fe4f1398302e1746cce (patch)
tree7dc9ac3bc7b94d7ee2aa67a29d756b954af576c0 /completion
parent8ea4a99d74737929f58568505e41c94f65a14743 (diff)
cli/reply: make --decrypt take a keyword
This brings the --decrypt argument to "notmuch reply" into line with the other --decrypt arguments (in "show", "new", "insert", and "reindex"). This patch is really just about bringing consistency to the user interface. We also use the recommended form in the emacs MUA when replying, and update test T350 to match.
Diffstat (limited to 'completion')
-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 17f3c5ec..249b9664 100644
--- a/completion/notmuch-completion.bash
+++ b/completion/notmuch-completion.bash
@@ -351,7 +351,7 @@ _notmuch_reply()
return
;;
--decrypt)
- COMPREPLY=( $( compgen -W "true false" -- "${cur}" ) )
+ COMPREPLY=( $( compgen -W "true auto false" -- "${cur}" ) )
return
;;
esac