summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/eip.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-07-06 14:24:30 +0200
committerKali Kaneko <kali@leap.se>2016-07-06 19:05:47 +0200
commit2a39fcaf8cf6d20c2cfac46ddba661ddc9699f39 (patch)
tree6a50af2254f751a9061652458a57302925cfd176 /src/leap/bitmask/cli/eip.py
parent44bfc93d60c0060f6153609c86f5deebfd084d2e (diff)
[refactor] beautify cli output
Diffstat (limited to 'src/leap/bitmask/cli/eip.py')
-rw-r--r--src/leap/bitmask/cli/eip.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/leap/bitmask/cli/eip.py b/src/leap/bitmask/cli/eip.py
index 389b662e..2ce43d81 100644
--- a/src/leap/bitmask/cli/eip.py
+++ b/src/leap/bitmask/cli/eip.py
@@ -17,16 +17,14 @@
"""
Bitmask Command Line interface: eip
"""
-import sys
-
-from leap.bitmask.cli.command import Command
+from leap.bitmask.cli.command import appname, Command
class Eip(Command):
service = 'eip'
- usage = '''%s eip <subcommand>
+ usage = '''{name} eip <subcommand>
-Bitmask encrypted internet service
+Bitmask Encrypted Internet Service
SUBCOMMANDS:
@@ -34,6 +32,6 @@ SUBCOMMANDS:
stop Stop service
status Display status about service
-''' % sys.argv[0]
+'''.format(name=appname)
commands = ['start', 'stop', 'status']