Merge pull request #23291 from yongtang/23211-spf13-cobra-history

Use spf13/cobra for docker history
This commit is contained in:
Vincent Demeester 2016-06-07 10:00:39 +02:00
commit f853d84ccb
2 changed files with 1 additions and 1 deletions

View File

@ -47,6 +47,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewTopCommand(dockerCli), container.NewTopCommand(dockerCli),
container.NewUnpauseCommand(dockerCli), container.NewUnpauseCommand(dockerCli),
container.NewWaitCommand(dockerCli), container.NewWaitCommand(dockerCli),
image.NewHistoryCommand(dockerCli),
image.NewRemoveCommand(dockerCli), image.NewRemoveCommand(dockerCli),
image.NewSearchCommand(dockerCli), image.NewSearchCommand(dockerCli),
network.NewNetworkCommand(dockerCli), network.NewNetworkCommand(dockerCli),

View File

@ -13,7 +13,6 @@ var DockerCommandUsage = []Command{
{"cp", "Copy files/folders between a container and the local filesystem"}, {"cp", "Copy files/folders between a container and the local filesystem"},
{"events", "Get real time events from the server"}, {"events", "Get real time events from the server"},
{"exec", "Run a command in a running container"}, {"exec", "Run a command in a running container"},
{"history", "Show the history of an image"},
{"images", "List images"}, {"images", "List images"},
{"import", "Import the contents from a tarball to create a filesystem image"}, {"import", "Import the contents from a tarball to create a filesystem image"},
{"info", "Display system-wide information"}, {"info", "Display system-wide information"},