Migrate exec command to cobra

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2016-06-20 13:27:56 +00:00
parent 6f66e15f99
commit b32ff5a1cd
2 changed files with 1 additions and 1 deletions

View File

@ -52,6 +52,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewCopyCommand(dockerCli), container.NewCopyCommand(dockerCli),
container.NewCreateCommand(dockerCli), container.NewCreateCommand(dockerCli),
container.NewDiffCommand(dockerCli), container.NewDiffCommand(dockerCli),
container.NewExecCommand(dockerCli),
container.NewExportCommand(dockerCli), container.NewExportCommand(dockerCli),
container.NewKillCommand(dockerCli), container.NewKillCommand(dockerCli),
container.NewLogsCommand(dockerCli), container.NewLogsCommand(dockerCli),

View File

@ -8,7 +8,6 @@ type Command struct {
// DockerCommandUsage lists the top level docker commands and their short usage // DockerCommandUsage lists the top level docker commands and their short usage
var DockerCommandUsage = []Command{ var DockerCommandUsage = []Command{
{"exec", "Run a command in a running container"},
{"inspect", "Return low-level information on a container, image or task"}, {"inspect", "Return low-level information on a container, image or task"},
} }