summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-06-04 17:46:54 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-05 21:46:57 +0000
commit7b2b2bc631718cd2e6640f66551f8f41e8bf99d3 (patch)
treecb8bfa05a8ec99ed19ca8d9c10abe1bd4fbaeb5c /cmd
parent93c1722caab372f873765041d2bd2b710de3c5c4 (diff)
downloadpodman-7b2b2bc631718cd2e6640f66551f8f41e8bf99d3.tar.gz
podman-7b2b2bc631718cd2e6640f66551f8f41e8bf99d3.tar.bz2
podman-7b2b2bc631718cd2e6640f66551f8f41e8bf99d3.zip
Add --all flag even though it is a noop so scripts will work
Until podman build supports caching, their are no intermediary builds, but people might still use scripts that use the --all option. Adding this will not hurt anything and could fix scripts. Also fixed sorting issues in options handling of images Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #896 Approved by: mheon
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/images.go28
1 files changed, 16 insertions, 12 deletions
diff --git a/cmd/podman/images.go b/cmd/podman/images.go
index 6c8af4512..918015937 100644
--- a/cmd/podman/images.go
+++ b/cmd/podman/images.go
@@ -54,8 +54,20 @@ func (a imagesSorted) Less(i, j int) bool { return a[i].CreatedTime.After(a[j].C
var (
imagesFlags = []cli.Flag{
cli.BoolFlag{
- Name: "quiet, q",
- Usage: "display only image IDs",
+ Name: "all, a",
+ Usage: "Show all images (default hides intermediate images)",
+ },
+ cli.BoolFlag{
+ Name: "digests",
+ Usage: "show digests",
+ },
+ cli.StringSliceFlag{
+ Name: "filter, f",
+ Usage: "filter output based on conditions provided (default [])",
+ },
+ cli.StringFlag{
+ Name: "format",
+ Usage: "Change the output format to JSON or a Go template",
},
cli.BoolFlag{
Name: "noheading, n",
@@ -66,16 +78,8 @@ var (
Usage: "do not truncate output",
},
cli.BoolFlag{
- Name: "digests",
- Usage: "show digests",
- },
- cli.StringFlag{
- Name: "format",
- Usage: "Change the output format to JSON or a Go template",
- },
- cli.StringSliceFlag{
- Name: "filter, f",
- Usage: "filter output based on conditions provided (default [])",
+ Name: "quiet, q",
+ Usage: "display only image IDs",
},
}