mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
api/client/restart.go:Fix a typo in comment
Signed-off-by: Yingqian Hu <choleraehyq@gmail.com>
This commit is contained in:
parent
b857dadb33
commit
d30990d7b1
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue