Migrate info command to cobra

Signed-off-by: Tomasz Kopczynski <tomek@kopczynski.net.pl>
This commit is contained in:
Tomasz Kopczynski 2016-06-08 23:42:25 +02:00
parent 63bccf7f31
commit 91b49f8538
2 changed files with 1 additions and 1 deletions

View File

@ -84,6 +84,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
registry.NewLogoutCommand(dockerCli), registry.NewLogoutCommand(dockerCli),
system.NewVersionCommand(dockerCli), system.NewVersionCommand(dockerCli),
volume.NewVolumeCommand(dockerCli), volume.NewVolumeCommand(dockerCli),
system.NewInfoCommand(dockerCli),
) )
plugin.NewPluginCommand(rootCmd, dockerCli) plugin.NewPluginCommand(rootCmd, dockerCli)

View File

@ -9,7 +9,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"}, {"exec", "Run a command in a running container"},
{"info", "Display system-wide information"},
{"inspect", "Return low-level information on a container, image or task"}, {"inspect", "Return low-level information on a container, image or task"},
{"update", "Update configuration of one or more containers"}, {"update", "Update configuration of one or more containers"},
} }