Consolidate the files in client/

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 2bc929b019
Component: cli
This commit is contained in:
Daniel Nephin
2016-04-27 14:53:36 -04:00
parent c15182b1a0
commit 63c0c343f9
+3 -2
View File
@@ -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
}
}