1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Use spf13/cobra for docker wait

This fix is part of the effort to convert commands to spf13/cobra #23211.

Thif fix coverted command `docker wait` to use spf13/cobra

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: b4421407a0
Component: cli
This commit is contained in:
Yong Tang
2016-06-05 17:25:22 -07:00
parent 231ae1a7df
commit 3075856642
2 changed files with 1 additions and 1 deletions

View File

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

View File

@@ -37,7 +37,6 @@ var DockerCommandUsage = []Command{
{"top", "Display the running processes of a container"},
{"update", "Update configuration of one or more containers"},
{"version", "Show the Docker version information"},
{"wait", "Block until a container stops, then print its exit code"},
}
// DockerCommands stores all the docker command