summaryrefslogtreecommitdiff
path: root/cmd/podman/container.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/container.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/container.go')
-rw-r--r--cmd/podman/container.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/container.go b/cmd/podman/container.go
index d2450fdd3..338bb005c 100644
--- a/cmd/podman/container.go
+++ b/cmd/podman/container.go
@@ -18,11 +18,13 @@ var containerCommand = cliconfig.PodmanCommand{
// Commands that are universally implemented.
var containerCommands = []*cobra.Command{
_containerExistsCommand,
+ _inspectCommand,
}
func init() {
containerCommand.AddCommand(containerCommands...)
containerCommand.AddCommand(getContainerSubCommands()...)
containerCommand.SetUsageTemplate(UsageTemplate())
+
rootCmd.AddCommand(containerCommand.Command)
}