summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-01-31 23:04:17 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2017-02-23 00:37:26 +0100
commitb76fb35ff1acea0b78193672b6d1ded0d3fece0c (patch)
tree017e6d89a146a6f2fbf90a9fd0815bb9449b73be
parentca0e1c4518749e27bccad817d22ab87afbf8acf7 (diff)
[bug] pass raw arguments to the default commands
-rw-r--r--src/leap/bitmask/cli/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/command.py b/src/leap/bitmask/cli/command.py
index 15b864ff..0e70d2e7 100644
--- a/src/leap/bitmask/cli/command.py
+++ b/src/leap/bitmask/cli/command.py
@@ -82,7 +82,7 @@ class Command(object):
# if command is in the default list, send the bare command
# and use the default printer
if args.command in self.commands:
- self.data += [args.command]
+ self.data += [args.command] + raw_args[1:]
return self._send(printer=default_dict_printer)
elif (args.command == 'execute' or