aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/examples/howto')
-rwxr-xr-xlang/python/examples/howto/pmkey-import-alt.py2
-rwxr-xr-xlang/python/examples/howto/pmkey-import.py2
2 files changed, 4 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)
diff --git a/lang/python/examples/howto/pmkey-import.py b/lang/python/examples/howto/pmkey-import.py
index edbd18e8..66ad8aa9 100755
--- a/lang/python/examples/howto/pmkey-import.py
+++ b/lang/python/examples/howto/pmkey-import.py
@@ -33,6 +33,8 @@ del absolute_import, division, unicode_literals
print("""
This script searches the ProtonMail key server for the specified key and
imports it.
+
+Usage: pmkey-import.py [search string]
""")
c = gpg.Context(armor=True)