diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-28 10:41:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-28 10:41:01 -0800 |
commit | 4a109a71996e99c9a95b639bbbee1c5e30450c97 (patch) | |
tree | fe250e7ef427ece689847c5c88094a9f3069308e /cmd/podman/rmi.go | |
parent | 2e463b7720769d85dcdae516cad96c57e96b7464 (diff) | |
parent | 3fa1fdf7117dbe4a114ddf9c4e7155cbb9ce2fed (diff) | |
download | podman-4a109a71996e99c9a95b639bbbee1c5e30450c97.tar.gz podman-4a109a71996e99c9a95b639bbbee1c5e30450c97.tar.bz2 podman-4a109a71996e99c9a95b639bbbee1c5e30450c97.zip |
Merge pull request #2480 from baude/clifixups
fix up a number of misplace commands
Diffstat (limited to 'cmd/podman/rmi.go')
-rw-r--r-- | cmd/podman/rmi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/rmi.go b/cmd/podman/rmi.go index e5bb9b486..5b8bf1ea3 100644 --- a/cmd/podman/rmi.go +++ b/cmd/podman/rmi.go @@ -14,7 +14,7 @@ import ( var ( rmiCommand cliconfig.RmiValues rmiDescription = "Removes one or more locally stored images." - _rmiCommand = &cobra.Command{ + _rmiCommand = cobra.Command{ Use: "rmi [flags] IMAGE [IMAGE...]", Short: "Removes one or more images from local storage", Long: rmiDescription, @@ -30,7 +30,7 @@ var ( ) func init() { - rmiCommand.Command = _rmiCommand + rmiCommand.Command = &_rmiCommand rmiCommand.SetUsageTemplate(UsageTemplate()) flags := rmiCommand.Flags() flags.BoolVarP(&rmiCommand.All, "all", "a", false, "Remove all images") |