mirror of https://github.com/docker/docs.git
Clean up list of available commands
This commit is contained in:
parent
a6b7254a4e
commit
f20deac47f
|
@ -261,6 +261,7 @@ func InteractiveMode() error {
|
||||||
"info",
|
"info",
|
||||||
"tar",
|
"tar",
|
||||||
"web",
|
"web",
|
||||||
|
"images",
|
||||||
"docker",
|
"docker",
|
||||||
} {
|
} {
|
||||||
if err := os.Symlink(dockerPath, path.Join(tmp, cmd)); err != nil {
|
if err := os.Symlink(dockerPath, path.Join(tmp, cmd)); err != nil {
|
||||||
|
|
|
@ -45,7 +45,7 @@ func (srv *Server) Help() string {
|
||||||
{"info", "Display system-wide information"},
|
{"info", "Display system-wide information"},
|
||||||
{"tar", "Stream the contents of a container as a tar archive"},
|
{"tar", "Stream the contents of a container as a tar archive"},
|
||||||
{"web", "Generate a web UI"},
|
{"web", "Generate a web UI"},
|
||||||
{"attach", "Attach to a running container"},
|
{"images", "List images"},
|
||||||
} {
|
} {
|
||||||
help += fmt.Sprintf(" %-10.10s%s\n", cmd...)
|
help += fmt.Sprintf(" %-10.10s%s\n", cmd...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue