summaryrefslogtreecommitdiff
path: root/cmd/podman/commands.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-28 10:41:01 -0800
committerGitHub <noreply@github.com>2019-02-28 10:41:01 -0800
commit4a109a71996e99c9a95b639bbbee1c5e30450c97 (patch)
treefe250e7ef427ece689847c5c88094a9f3069308e /cmd/podman/commands.go
parent2e463b7720769d85dcdae516cad96c57e96b7464 (diff)
parent3fa1fdf7117dbe4a114ddf9c4e7155cbb9ce2fed (diff)
downloadpodman-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/commands.go')
-rw-r--r--cmd/podman/commands.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/podman/commands.go b/cmd/podman/commands.go
index fd36e77d5..2f9a9cfe2 100644
--- a/cmd/podman/commands.go
+++ b/cmd/podman/commands.go
@@ -18,7 +18,7 @@ func getMainCommands() []*cobra.Command {
_execCommand,
_generateCommand,
_playCommand,
- _psCommand,
+ &_psCommand,
_loginCommand,
_logoutCommand,
_logsCommand,
@@ -54,6 +54,10 @@ func getImageSubCommands() []*cobra.Command {
// Commands that the local client implements
func getContainerSubCommands() []*cobra.Command {
+
+ var _listSubCommand = _psCommand
+ _listSubCommand.Use = "list"
+
return []*cobra.Command{
_attachCommand,
_checkpointCommand,
@@ -64,8 +68,8 @@ func getContainerSubCommands() []*cobra.Command {
_execCommand,
_exportCommand,
_killCommand,
+ &_listSubCommand,
_logsCommand,
- _psCommand,
_mountCommand,
_pauseCommand,
_portCommand,