summaryrefslogtreecommitdiff
path: root/cmd/podman/images.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 16:55:08 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 19:37:09 -0500
commit675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (patch)
tree90759430ee69ce79f41679daf7fea104cf014c84 /cmd/podman/images.go
parent228d1cbcd372b086669e35c1237fc5064b24ea7d (diff)
downloadpodman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.gz
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.bz2
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.zip
Fifth chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> The fifth and final chunk of examples for the Cobra examples in the CLI help output. Also includes a few man page touchups. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/images.go')
-rw-r--r--cmd/podman/images.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/images.go b/cmd/podman/images.go
index b269f6440..56810eaeb 100644
--- a/cmd/podman/images.go
+++ b/cmd/podman/images.go
@@ -96,7 +96,9 @@ var (
imagesCommand.GlobalFlags = MainGlobalOpts
return imagesCmd(&imagesCommand)
},
- Example: "",
+ Example: `podman images --format json
+ podman images --sort repository --format "table {{.ID}} {{.Repository}} {{.Tag}}"
+ podman images --filter dangling=true`,
}
)