1
0
mirror of https://github.com/docker/docs.git synced 2026-11-01 22:34:29 +03:00

Account for length of the ellipsis string when truncating commands

This commit is contained in:
Aanand Prasad
2014-01-16 14:06:48 +00:00
parent c4f5ed839f
commit af1b0ed088

View File

@@ -158,7 +158,7 @@ class TopLevelCommand(Command):
for container in containers:
command = container.human_readable_command
if len(command) > 30:
command = '%s ...' % command[:30]
command = '%s ...' % command[:26]
rows.append([
container.name,
command,