summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/mail.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/cli/mail.py')
-rw-r--r--src/leap/bitmask/cli/mail.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/leap/bitmask/cli/mail.py b/src/leap/bitmask/cli/mail.py
index a02797cc..76fdc3b9 100644
--- a/src/leap/bitmask/cli/mail.py
+++ b/src/leap/bitmask/cli/mail.py
@@ -17,16 +17,14 @@
"""
Bitmask Command Line interface: mail
"""
-import sys
-
-from leap.bitmask.cli.command import Command
+from leap.bitmask.cli.command import appname, Command
class Mail(Command):
service = 'mail'
- usage = '''%s mail <subcommand>
+ usage = '''{name} mail <subcommand>
-Bitmask encrypted internet service
+Bitmask Encrypted Email service
SUBCOMMANDS:
@@ -36,7 +34,7 @@ SUBCOMMANDS:
get-token Returns token for the mail service
get-smtp-certificate Downloads a new smtp certificate
-''' % sys.argv[0]
+'''.format(name=appname)
commands = ['enable', 'disable', 'status', 'get-token',
'get-smtp-certificate']