浏览代码

Clean up list of available commands

Solomon Hykes 12 年之前
父节点
当前提交
f20deac47f
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      docker/docker.go
  2. 1 1
      dockerd/dockerd.go

+ 1 - 0
docker/docker.go

@@ -261,6 +261,7 @@ func InteractiveMode() error {
 		"info",
 		"tar",
 		"web",
+		"images",
 		"docker",
 	} {
 		if err := os.Symlink(dockerPath, path.Join(tmp, cmd)); err != nil {

+ 1 - 1
dockerd/dockerd.go

@@ -45,7 +45,7 @@ func (srv *Server) Help() string {
 		{"info", "Display system-wide information"},
 		{"tar", "Stream the contents of a container as a tar archive"},
 		{"web", "Generate a web UI"},
-		{"attach", "Attach to a running container"},
+		{"images", "List images"},
 	} {
 		help += fmt.Sprintf("    %-10.10s%s\n", cmd...)
 	}