mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02:00
Account for length of the ellipsis string when truncating commands
This commit is contained in:
parent
c4f5ed839f
commit
af1b0ed088
@ -158,7 +158,7 @@ class TopLevelCommand(Command):
|
|||||||
for container in containers:
|
for container in containers:
|
||||||
command = container.human_readable_command
|
command = container.human_readable_command
|
||||||
if len(command) > 30:
|
if len(command) > 30:
|
||||||
command = '%s ...' % command[:30]
|
command = '%s ...' % command[:26]
|
||||||
rows.append([
|
rows.append([
|
||||||
container.name,
|
container.name,
|
||||||
command,
|
command,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user