summaryrefslogtreecommitdiff
path: root/cmd/podman/images/prune.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-28 23:29:20 +0200
committerGitHub <noreply@github.com>2020-04-28 23:29:20 +0200
commitbf4efc1953467907ae7d75d5f3ef3cd41505ee24 (patch)
treef6743d64621b126ff5e5f92c46fa4e56d279f26b /cmd/podman/images/prune.go
parentdcac908bbe879a8b0b453531252dddccf8690077 (diff)
parent517bc28360ba6417d5333720f03f010514862ec3 (diff)
downloadpodman-bf4efc1953467907ae7d75d5f3ef3cd41505ee24.tar.gz
podman-bf4efc1953467907ae7d75d5f3ef3cd41505ee24.tar.bz2
podman-bf4efc1953467907ae7d75d5f3ef3cd41505ee24.zip
Merge pull request #6026 from baude/v2forcesystemtests
system tests must pass
Diffstat (limited to 'cmd/podman/images/prune.go')
-rw-r--r--cmd/podman/images/prune.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/images/prune.go b/cmd/podman/images/prune.go
index b90d889be..eb9e4a7e4 100644
--- a/cmd/podman/images/prune.go
+++ b/cmd/podman/images/prune.go
@@ -6,6 +6,7 @@ import (
"os"
"strings"
+ "github.com/containers/libpod/cmd/podman/common"
"github.com/containers/libpod/cmd/podman/registry"
"github.com/containers/libpod/pkg/domain/entities"
"github.com/pkg/errors"
@@ -18,7 +19,7 @@ var (
If an image is not being used by a container, it will be removed from the system.`
pruneCmd = &cobra.Command{
Use: "prune",
- Args: cobra.NoArgs,
+ Args: common.NoArgs,
Short: "Remove unused images",
Long: pruneDescription,
RunE: prune,