From 1a3f9a1f39ec00ec73fc37e8092be3e28c4331cb Mon Sep 17 00:00:00 2001 From: Cholerae Hu Date: Wed, 26 Aug 2015 18:59:56 +0800 Subject: [PATCH] api/client/restart.go:Fix a typo in comment Signed-off-by: Yingqian Hu Upstream-commit: d30990d7b1468488768847521a3a7ce66a081015 Component: engine --- components/engine/api/client/restart.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/api/client/restart.go b/components/engine/api/client/restart.go index 88de4f758a..2101ab91da 100644 --- a/components/engine/api/client/restart.go +++ b/components/engine/api/client/restart.go @@ -11,7 +11,7 @@ import ( // CmdRestart restarts one or more running containers. // -// Usage: docker stop [OPTIONS] CONTAINER [CONTAINER...] +// Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...] func (cli *DockerCli) CmdRestart(args ...string) error { cmd := Cli.Subcmd("restart", []string{"CONTAINER [CONTAINER...]"}, "Restart a running container", true) nSeconds := cmd.Int([]string{"t", "-time"}, 10, "Seconds to wait for stop before killing the container")