Clean up list of available commands
Upstream-commit: f20deac47f35520ace5ad1c1aadbd3f8c34ad571 Component: engine
This commit is contained in:
@ -261,6 +261,7 @@ func InteractiveMode() error {
|
||||
"info",
|
||||
"tar",
|
||||
"web",
|
||||
"images",
|
||||
"docker",
|
||||
} {
|
||||
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"},
|
||||
{"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...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user