summaryrefslogtreecommitdiff
path: root/cmd/podman/volume_prune.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-01 12:22:12 -0800
committerGitHub <noreply@github.com>2019-03-01 12:22:12 -0800
commite4746f9b4b679548d88f0ea94f73d760b2658c3c (patch)
tree7911dcb15acde80a1c03529e7d42a6dcc9cd45f2 /cmd/podman/volume_prune.go
parentce8d7b8539ec724cce7eac14d5d555c3c3c23266 (diff)
parent9934507d74c97bccb753b04873eb74652600b6ff (diff)
downloadpodman-e4746f9b4b679548d88f0ea94f73d760b2658c3c.tar.gz
podman-e4746f9b4b679548d88f0ea94f73d760b2658c3c.tar.bz2
podman-e4746f9b4b679548d88f0ea94f73d760b2658c3c.zip
Merge pull request #2452 from edsantiago/no_more_args
Command-line input validation: reject unused args
Diffstat (limited to 'cmd/podman/volume_prune.go')
-rw-r--r--cmd/podman/volume_prune.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/volume_prune.go b/cmd/podman/volume_prune.go
index 1f7931aa4..370f072eb 100644
--- a/cmd/podman/volume_prune.go
+++ b/cmd/podman/volume_prune.go
@@ -24,6 +24,7 @@ using force.
`
_volumePruneCommand = &cobra.Command{
Use: "prune",
+ Args: noSubArgs,
Short: "Remove all unused volumes",
Long: volumePruneDescription,
RunE: func(cmd *cobra.Command, args []string) error {