aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/volume_rm.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-12 15:45:54 +0100
committerGitHub <noreply@github.com>2019-02-12 15:45:54 +0100
commitbdf537f4fc983c30c945297d9ee33891a127f9bd (patch)
treeb6f813a58b904d06eed9bb8925a01904dce81de2 /cmd/podman/volume_rm.go
parentfaafdcf1f3509aeb83fd43729fa7c40ea360a3ea (diff)
parentccbc4fb006253788910eba86eb6674d3465992c3 (diff)
downloadpodman-bdf537f4fc983c30c945297d9ee33891a127f9bd.tar.gz
podman-bdf537f4fc983c30c945297d9ee33891a127f9bd.tar.bz2
podman-bdf537f4fc983c30c945297d9ee33891a127f9bd.zip
Merge pull request #2309 from rhatdan/help
Don't show global flags except for podman command
Diffstat (limited to 'cmd/podman/volume_rm.go')
-rw-r--r--cmd/podman/volume_rm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/volume_rm.go b/cmd/podman/volume_rm.go
index af05957e8..f301749e9 100644
--- a/cmd/podman/volume_rm.go
+++ b/cmd/podman/volume_rm.go
@@ -34,6 +34,7 @@ not being used by any containers. To remove the volumes anyways, use the
func init() {
volumeRmCommand.Command = _volumeRmCommand
+ volumeRmCommand.SetUsageTemplate(UsageTemplate())
flags := volumeRmCommand.Flags()
flags.BoolVarP(&volumeRmCommand.All, "all", "a", false, "Remove all volumes")
flags.BoolVarP(&volumeRmCommand.Force, "force", "f", false, "Remove a volume by force, even if it is being used by a container")