mirror of
https://github.com/containers/podman.git
synced 2025-12-05 21:32:22 +08:00
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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user