diff options
author | drebs <drebs@riseup.net> | 2016-11-06 12:58:01 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2016-11-06 14:21:13 -0200 |
commit | 501005d7d54bd57a37df4777154f0e47e4dc622c (patch) | |
tree | 72ffd31c544faac1e27e84e8199997b3bb8851c4 /src/leap/bitmask/cli | |
parent | 0ed9a016f6b41600f6bfc7b6576f152e6bf6a902 (diff) |
[feat] increase verbosity using command line
Diffstat (limited to 'src/leap/bitmask/cli')
-rwxr-xr-x | src/leap/bitmask/cli/bitmask_cli.py | 6 |
1 files changed, 5 insertions, 1 deletions
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): |