Migrate restart command to cobra

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2016-06-06 22:15:46 +08:00
parent 90a2068a6b
commit 254cce44cd
2 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewPauseCommand(dockerCli), container.NewPauseCommand(dockerCli),
container.NewPortCommand(dockerCli), container.NewPortCommand(dockerCli),
container.NewRenameCommand(dockerCli), container.NewRenameCommand(dockerCli),
container.NewRestartCommand(dockerCli),
container.NewRunCommand(dockerCli), container.NewRunCommand(dockerCli),
container.NewStartCommand(dockerCli), container.NewStartCommand(dockerCli),
container.NewStopCommand(dockerCli), container.NewStopCommand(dockerCli),

View File

@ -24,7 +24,6 @@ var DockerCommandUsage = []Command{
{"ps", "List containers"}, {"ps", "List containers"},
{"pull", "Pull an image or a repository from a registry"}, {"pull", "Pull an image or a repository from a registry"},
{"push", "Push an image or a repository to a registry"}, {"push", "Push an image or a repository to a registry"},
{"restart", "Restart a container"},
{"rm", "Remove one or more containers"}, {"rm", "Remove one or more containers"},
{"save", "Save one or more images to a tar archive"}, {"save", "Save one or more images to a tar archive"},
{"stats", "Display a live stream of container(s) resource usage statistics"}, {"stats", "Display a live stream of container(s) resource usage statistics"},