Fix docstring for images command

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-03-02 14:59:36 -08:00
parent 90beeaf21c
commit 815a3af6d2
1 changed files with 2 additions and 2 deletions

View File

@ -484,7 +484,7 @@ class TopLevelCommand(object):
def images(self, options):
"""
List images.
List images used by the created containers.
Usage: images [options] [SERVICE...]
Options:
@ -510,7 +510,7 @@ class TopLevelCommand(object):
image_config = container.image_config
repo_tags = str.split(str(image_config['RepoTags'][0]), ':')
image_id = str.split(str(container.image), ':')[1][0:12]
size = round(int(image_config['Size'])/float(1 << 20), 1)
size = round(int(image_config['Size']) / float(1 << 20), 1)
rows.append([
repo_tags[0],
repo_tags[1],