summaryrefslogtreecommitdiff
path: root/email-print-mime-structure
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-15 18:00:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-15 18:14:32 -0700
commit2bb2b573ad9ceaee58986b04fd4688fec4129569 (patch)
tree959bbcf9cf88c2716d4f18f18e34a2cc5cb5adde /email-print-mime-structure
parentb9a31898cfe7fd448754a98fdaa8b4145509150d (diff)
downloadmailscripts-2bb2b573ad9ceaee58986b04fd4688fec4129569.tar.gz
email-print-mime-structure: add --no-use-gpg-agent
This allows the user to avoid being affected by any future change in the default. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'email-print-mime-structure')
-rwxr-xr-xemail-print-mime-structure2
1 files changed, 2 insertions, 0 deletions
diff --git a/email-print-mime-structure b/email-print-mime-structure
index 3f29fb9..4f165b1 100755
--- a/email-print-mime-structure
+++ b/email-print-mime-structure
@@ -157,6 +157,8 @@ def main() -> None:
help='OpenPGP Transferable Secret Key for decrypting')
parser.add_argument('--use-gpg-agent', action='store_true',
help='Ask local GnuPG installation for decryption')
+ parser.add_argument('--no-use-gpg-agent', action='store_false',
+ help='Don\'t ask local GnuPG installation for decryption')
parser.set_defaults(use_gpg_agent=False)
if argcomplete: