From 2bc929b019f5f1c2149c886e487c78a31123bf77 Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Mon, 25 Apr 2016 12:05:42 -0400 Subject: [PATCH] Consolidate the files in client/ Signed-off-by: Daniel Nephin --- usage.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usage.go b/usage.go index 4b0eb0e0c3..1ef6a35dec 100644 --- a/usage.go +++ b/usage.go @@ -6,7 +6,8 @@ type Command struct { Description string } -var dockerCommands = []Command{ +// DockerCommandUsage lists the top level docker commands and their short usage +var DockerCommandUsage = []Command{ {"attach", "Attach to a running container"}, {"build", "Build an image from a Dockerfile"}, {"commit", "Create a new image from a container's changes"}, @@ -55,7 +56,7 @@ var dockerCommands = []Command{ var DockerCommands = make(map[string]Command) func init() { - for _, cmd := range dockerCommands { + for _, cmd := range DockerCommandUsage { DockerCommands[cmd.Name] = cmd } }