Commit eddaace7 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Fix --more bug in _optional_json commands

parent 7f1085c6
......@@ -264,7 +264,8 @@ class _optional_json(object):
if self['json_output']:
print_json(output, out=self._out)
else:
print_method(output, out=self._out, **print_method_kwargs)
print_method_kwargs.setdefault('out', self._out)
print_method(output, **print_method_kwargs)
class _name_filter(object):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment