From d231cfba92ef440404f936a2cb0a64503b9c8c46 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 2 Mar 2019 07:14:28 -0500 Subject: Fix aliased commands to actually work The current aliased commands podman container list and podman image list podman image rm Do not work properly. The global storage options are broken. This patch fixes this issue. Signed-off-by: Daniel J Walsh --- cmd/podman/commands.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cmd/podman/commands.go') diff --git a/cmd/podman/commands.go b/cmd/podman/commands.go index 2f9a9cfe2..b2630652a 100644 --- a/cmd/podman/commands.go +++ b/cmd/podman/commands.go @@ -55,9 +55,6 @@ 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, @@ -68,7 +65,6 @@ func getContainerSubCommands() []*cobra.Command { _execCommand, _exportCommand, _killCommand, - &_listSubCommand, _logsCommand, _mountCommand, _pauseCommand, -- cgit v1.2.3-54-g00ecf