Merge pull request #23285 from yongtang/23211-spf13-cobra-pause

Use spf13/cobra for docker pause
This commit is contained in:
Vincent Demeester 2016-06-07 10:01:42 +02:00
commit 90a2068a6b
2 changed files with 1 additions and 1 deletions

View File

@ -39,6 +39,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewDiffCommand(dockerCli), container.NewDiffCommand(dockerCli),
container.NewExportCommand(dockerCli), container.NewExportCommand(dockerCli),
container.NewLogsCommand(dockerCli), container.NewLogsCommand(dockerCli),
container.NewPauseCommand(dockerCli),
container.NewPortCommand(dockerCli), container.NewPortCommand(dockerCli),
container.NewRenameCommand(dockerCli), container.NewRenameCommand(dockerCli),
container.NewRunCommand(dockerCli), container.NewRunCommand(dockerCli),

View File

@ -21,7 +21,6 @@ var DockerCommandUsage = []Command{
{"load", "Load an image from a tar archive or STDIN"}, {"load", "Load an image from a tar archive or STDIN"},
{"login", "Log in to a Docker registry"}, {"login", "Log in to a Docker registry"},
{"logout", "Log out from a Docker registry"}, {"logout", "Log out from a Docker registry"},
{"pause", "Pause all processes within a container"},
{"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"},