summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-08-15 18:33:44 +0200
committerKali Kaneko <kali@leap.se>2016-08-15 18:33:44 +0200
commit7deebbcc9be005c6b29131985a218f571b89ab8d (patch)
tree0052ba1a603f3b2bdb5484cc8a1300db9dc99638 /src/leap/bitmask/cli
parentc8520be5c0a6c1c0e804f752d71baaf47367a0b8 (diff)
[bug] rename mail get-token commands
otherwise the command cannot be dispatched. return dicts instead of strings too.
Diffstat (limited to 'src/leap/bitmask/cli')
-rw-r--r--src/leap/bitmask/cli/mail.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/leap/bitmask/cli/mail.py b/src/leap/bitmask/cli/mail.py
index 9bb5581d..f0fa9722 100644
--- a/src/leap/bitmask/cli/mail.py
+++ b/src/leap/bitmask/cli/mail.py
@@ -31,10 +31,10 @@ SUBCOMMANDS:
enable Start service
disable Stop service
status Display status about service
- get-token Returns token for the mail service
- get-smtp-certificate Downloads a new smtp certificate
+ get_token Returns token for the mail service
+ get_smtp_certificate Downloads a new smtp certificate
'''.format(name=command.appname)
- commands = ['enable', 'disable', 'status', 'get-token',
- 'get-smtp-certificate']
+ commands = ['enable', 'disable', 'status', 'get_token',
+ 'get_smtp_certificate']