Commit b89c739d authored by ∞'s avatar 💻

Space around small content

parent 7964f69c
Pipeline #7936 passed with stages
in 40 seconds
......@@ -48,6 +48,9 @@ class Table(list):
if sumsize > size:
_ = sum([c.maxlength for c in self.columns[:-1]]) - len(self.columns)
self.columns[-1].maxlength = size - _ - len(self.columns) - 1
elif sumsize + len(self.columns) <= size and not self.header:
for column in self.columns:
column.maxlength += 1
if self.header:
line = []
......
......@@ -20,4 +20,4 @@ Call cli2.test_node.example_function with args=['x'] and kwargs=dict(y='z')
cli2 cli2.test_node.example_function x y=z
SUB-COMMANDS
help Get help for a dotted path
help  Get help for a dotted path 
......@@ -18,4 +18,4 @@ Call cli2.test_node.example_function with args=['x'] and kwargs=dict(y='z')
cli2 cli2.test_node.example_function x y=z
SUB-COMMANDS
help Get help for a dotted path
help  Get help for a dotted path 
......@@ -10,5 +10,5 @@ cli2 help cli2.test_node.example_object SUB-COMMAND
Represents a group of named commands.
SUB-COMMANDS
help  Get help for a command or group
example_method 
help  Get help for a command or group 
example_method  
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