diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-27 22:15:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-27 22:15:31 +0100 |
commit | 4e553cfd468c06ae45a88c51c57137dc4607ffe4 (patch) | |
tree | cd62c7836ef625cc837b941071b7a21f5e447df0 /cmd/podman/image.go | |
parent | 404252806730ffc2d08e16af3948e33baf924b3f (diff) | |
parent | 4a33ee2ab337b84bbfbc0045c08ac3d43073d702 (diff) | |
download | podman-4e553cfd468c06ae45a88c51c57137dc4607ffe4.tar.gz podman-4e553cfd468c06ae45a88c51c57137dc4607ffe4.tar.bz2 podman-4e553cfd468c06ae45a88c51c57137dc4607ffe4.zip |
Merge pull request #2471 from baude/clifixups
fix up a number of misplace commands
Diffstat (limited to 'cmd/podman/image.go')
-rw-r--r-- | cmd/podman/image.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/podman/image.go b/cmd/podman/image.go index 14053cb0d..aaa1866c4 100644 --- a/cmd/podman/image.go +++ b/cmd/podman/image.go @@ -14,6 +14,7 @@ var ( Long: imageDescription, }, } + _imagesSubCommand = _imagesCommand ) //imageSubCommands are implemented both in local and remote clients @@ -21,7 +22,6 @@ var imageSubCommands = []*cobra.Command{ _buildCommand, _historyCommand, _imageExistsCommand, - _imagesCommand, _importCommand, _inspectCommand, _loadCommand, @@ -37,4 +37,8 @@ func init() { imageCommand.SetUsageTemplate(UsageTemplate()) imageCommand.AddCommand(imageSubCommands...) imageCommand.AddCommand(getImageSubCommands()...) + + _imagesSubCommand.Aliases = []string{"ls", "list"} + imageCommand.AddCommand(&_imagesSubCommand) + } |