aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/rmi.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-27 12:26:35 -0600
committerbaude <bbaude@redhat.com>2019-02-28 09:36:23 -0600
commit3fa1fdf7117dbe4a114ddf9c4e7155cbb9ce2fed (patch)
treee49f95761c88c153db1b2f6063b47d463745b265 /cmd/podman/rmi.go
parent5afae0b25bba4e2274747b32cf8b3bc929daf06e (diff)
downloadpodman-3fa1fdf7117dbe4a114ddf9c4e7155cbb9ce2fed.tar.gz
podman-3fa1fdf7117dbe4a114ddf9c4e7155cbb9ce2fed.tar.bz2
podman-3fa1fdf7117dbe4a114ddf9c4e7155cbb9ce2fed.zip
fix up a number of misplace commands
* ps now on main command * sign is no longer on main commmand * ls, list no longer are valid main aliases for images * ls, list does work for podman image Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/rmi.go')
-rw-r--r--cmd/podman/rmi.go4
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")