]> git.notmuchmail.org Git - notmuch/commit
CLI/show: warn if crypto options are used with mbox format
authorDavid Bremner <david@tethera.net>
Thu, 21 Dec 2023 17:04:00 +0000 (09:04 -0800)
committerDavid Bremner <david@tethera.net>
Tue, 6 Aug 2024 09:50:33 +0000 (06:50 -0300)
commita691d54280b574035d38f3827d5caca9d0a6ae5b
tree05271c8eafe3c20356d0d46c188018af9bd62580
parentbc989209171d406b3671024542e59b86b0ecb23d
CLI/show: warn if crypto options are used with mbox format

This limitation seems somewhat hard to fix, but at least try to warn
users when combining crypto operations with mbox output format.

Because the default is --decrypt=auto, the warning is omitted if
--decrypt=auto is specified. While this is not great, it seems more
wrong to always warn, or to change the default because of this.
notmuch-show.c
test/T520-show.sh