diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2019-03-02 07:14:28 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2019-03-03 06:14:20 -0500 |
commit | d231cfba92ef440404f936a2cb0a64503b9c8c46 (patch) | |
tree | 716b5088d5f97ee85dc0adf19e43622044a41b5d /cmd/podman/commands.go | |
parent | 4c618875f6402f36e4c820766050667e6a417d7c (diff) | |
download | podman-d231cfba92ef440404f936a2cb0a64503b9c8c46.tar.gz podman-d231cfba92ef440404f936a2cb0a64503b9c8c46.tar.bz2 podman-d231cfba92ef440404f936a2cb0a64503b9c8c46.zip |
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 <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/commands.go')
-rw-r--r-- | cmd/podman/commands.go | 4 |
1 files changed, 0 insertions, 4 deletions
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, |