From 3c8b37971d616a509df27aaf534310cdc5bd1a62 Mon Sep 17 00:00:00 2001 From: Tomasz Kopczynski Date: Wed, 8 Jun 2016 23:42:25 +0200 Subject: [PATCH] Migrate info command to cobra Signed-off-by: Tomasz Kopczynski Upstream-commit: 91b49f8538b423648d4c93855e0dc0ce326bdfc3 Component: cli --- components/cli/cobraadaptor/adaptor.go | 1 + components/cli/usage.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/cobraadaptor/adaptor.go b/components/cli/cobraadaptor/adaptor.go index e8a29c6817..5466840310 100644 --- a/components/cli/cobraadaptor/adaptor.go +++ b/components/cli/cobraadaptor/adaptor.go @@ -84,6 +84,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor { registry.NewLogoutCommand(dockerCli), system.NewVersionCommand(dockerCli), volume.NewVolumeCommand(dockerCli), + system.NewInfoCommand(dockerCli), ) plugin.NewPluginCommand(rootCmd, dockerCli) diff --git a/components/cli/usage.go b/components/cli/usage.go index 0e2923740f..451c5e7756 100644 --- a/components/cli/usage.go +++ b/components/cli/usage.go @@ -9,7 +9,6 @@ type Command struct { // DockerCommandUsage lists the top level docker commands and their short usage var DockerCommandUsage = []Command{ {"exec", "Run a command in a running container"}, - {"info", "Display system-wide information"}, {"inspect", "Return low-level information on a container, image or task"}, {"update", "Update configuration of one or more containers"}, }