Fix text
This commit is contained in:
parent
19368a42d8
commit
676c01bda2
1 changed files with 6 additions and 6 deletions
|
@ -21,11 +21,11 @@ type Image struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ImagesCommand struct {
|
type ImagesCommand struct {
|
||||||
Dot bool `short:"d" long:"dot" description:"Show image information as Graphviz dot."`
|
Dot bool `short:"d" long:"dot" description:"Show image information as Graphviz dot. You can add a start image id or name -d/--dot [id/name]"`
|
||||||
Tree bool `short:"t" long:"tree" description:"Show image information as tree."`
|
Tree bool `short:"t" long:"tree" description:"Show image information as tree. You can add a start image id or name -t/--tree [id/name]"`
|
||||||
Short bool `short:"s" long:"short" description:"Show short summary of images (repo name and list of tags)."`
|
Short bool `short:"s" long:"short" description:"Show short summary of images (repo name and list of tags)."`
|
||||||
NoTruncate bool `short:"n" long:"no-trunc" description:"Don't truncate the image IDs."`
|
NoTruncate bool `short:"n" long:"no-trunc" description:"Don't truncate the image IDs."`
|
||||||
OnlyLabeled bool `short:"l" long:"only-labeled" description:"Print only labeled images/containers."`
|
OnlyLabelled bool `short:"l" long:"only-labelled" description:"Print only labelled images/containers."`
|
||||||
}
|
}
|
||||||
|
|
||||||
var imagesCommand ImagesCommand
|
var imagesCommand ImagesCommand
|
||||||
|
@ -136,7 +136,7 @@ func (x *ImagesCommand) Execute(args []string) error {
|
||||||
// initialize image informations
|
// initialize image informations
|
||||||
|
|
||||||
// filter images
|
// filter images
|
||||||
if imagesCommand.OnlyLabeled{
|
if imagesCommand.OnlyLabelled{
|
||||||
*images, imagesByParent = filterImages(images, &imagesByParent)
|
*images, imagesByParent = filterImages(images, &imagesByParent)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue