From 501005d7d54bd57a37df4777154f0e47e4dc622c Mon Sep 17 00:00:00 2001 From: drebs Date: Sun, 6 Nov 2016 12:58:01 -0200 Subject: [feat] increase verbosity using command line --- src/leap/bitmask/cli/bitmask_cli.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/leap/bitmask/cli/bitmask_cli.py') diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index c27cabf..4f275d9 100755 --- a/src/leap/bitmask/cli/bitmask_cli.py +++ b/src/leap/bitmask/cli/bitmask_cli.py @@ -92,7 +92,11 @@ GENERAL COMMANDS: # XXX careful! Should see if the process in PID is running, # avoid launching again. import commands - commands.getoutput('bitmaskd') + cmd = 'bitmaskd' + if raw_args and '--verbose' in raw_args: + cmd += ' --verbose' + commands.getoutput(cmd) + command.default_dict_printer({'start': 'ok'}) return defer.succeed(None) def version(self, raw_args): -- cgit v1.2.3