aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/pmkey-import-alt.py
diff options
context:
space:
mode:
authorBen McGinnes <[email protected]>2018-08-29 10:30:57 +0000
committerBen McGinnes <[email protected]>2018-08-29 10:30:57 +0000
commitf7e5ae7f1618bd355b885c5c32dd028afad35453 (patch)
treeab3b07690eaf9a00b785890339b0384204559a05 /lang/python/examples/howto/pmkey-import-alt.py
parentMerge branch 'master' of ssh+git://playfair.gnupg.org/git/gpgme (diff)
downloadgpgme-f7e5ae7f1618bd355b885c5c32dd028afad35453.tar.gz
gpgme-f7e5ae7f1618bd355b885c5c32dd028afad35453.zip
docs: python bindings - protonmail examples
* lang/python/docs/GPGMEpythonHOWTOen.org: Updated links to the ProtonMail keyserver import scripts and added a warning regarding being unable to update third party keys. * lang/python/examples/howto/pmkey-import-alt.py: added usage. * lang/python/examples/howto/pmkey-import.py: added usage.
Diffstat (limited to 'lang/python/examples/howto/pmkey-import-alt.py')
-rwxr-xr-xlang/python/examples/howto/pmkey-import-alt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/python/examples/howto/pmkey-import-alt.py b/lang/python/examples/howto/pmkey-import-alt.py
index e9521b7f..1b260e17 100755
--- a/lang/python/examples/howto/pmkey-import-alt.py
+++ b/lang/python/examples/howto/pmkey-import-alt.py
@@ -34,6 +34,8 @@ del absolute_import, division, unicode_literals
print("""
This script searches the ProtonMail key server for the specified key and
imports it. Optionally enables specifying a different GnuPG home directory.
+
+Usage: pmkey-import-alt.py [search string] [homedir]
""")
c = gpg.Context(armor=True)