From 7deebbcc9be005c6b29131985a218f571b89ab8d Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 15 Aug 2016 18:33:44 +0200 Subject: [bug] rename mail get-token commands otherwise the command cannot be dispatched. return dicts instead of strings too. --- src/leap/bitmask/cli/mail.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/leap/bitmask/cli') 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'] -- cgit v1.2.3