]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-lib.el
cli/show: make --decrypt take a keyword.
[notmuch] / emacs / notmuch-lib.el
index 010be454e77420c2f945fdfc3a7895283a8d7209..a7e027101c487c996a45942bb29a6e061a60c446 100644 (file)
@@ -593,7 +593,7 @@ the given type."
                       (set-buffer-multibyte nil))
                     (let ((args `("show" "--format=raw"
                                   ,(format "--part=%s" (plist-get part :id))
-                                  ,@(when process-crypto '("--decrypt"))
+                                  ,@(when process-crypto '("--decrypt=true"))
                                   ,(notmuch-id-to-query (plist-get msg :id))))
                           (coding-system-for-read
                            (if binaryp 'no-conversion