diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-14 22:52:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-14 22:52:03 +0100 |
commit | ae8cc41295c4ff6f6f82372221c66c250691e4f6 (patch) | |
tree | 197c210011a5c40a9beccafea8a22c52314f28de /cmd/podman/volume.go | |
parent | 1a9128d1e4851df7c0316e0b861e70605fd262f6 (diff) | |
parent | 5be818e715d57f98e4a930632bc599e3fee3aaed (diff) | |
download | podman-ae8cc41295c4ff6f6f82372221c66c250691e4f6.tar.gz podman-ae8cc41295c4ff6f6f82372221c66c250691e4f6.tar.bz2 podman-ae8cc41295c4ff6f6f82372221c66c250691e4f6.zip |
Merge pull request #2332 from baude/remotevolumeprune
volume prune
Diffstat (limited to 'cmd/podman/volume.go')
-rw-r--r-- | cmd/podman/volume.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cmd/podman/volume.go b/cmd/podman/volume.go index 36798a19e..8a8664151 100644 --- a/cmd/podman/volume.go +++ b/cmd/podman/volume.go @@ -16,8 +16,16 @@ var volumeCommand = cliconfig.PodmanCommand{ Long: volumeDescription, }, } +var volumeSubcommands = []*cobra.Command{ + _volumeCreateCommand, + _volumeLsCommand, + _volumeRmCommand, + _volumeInspectCommand, + _volumePruneCommand, +} func init() { - volumeCommand.AddCommand(getVolumeSubCommands()...) volumeCommand.SetUsageTemplate(UsageTemplate()) + volumeCommand.AddCommand(volumeSubcommands...) + rootCmd.AddCommand(volumeCommand.Command) } |