Browse Source

Fix docker start help message

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Lei Jitang 10 years ago
parent
commit
3c37f88aff

+ 1 - 1
api/client/commands.go

@@ -703,7 +703,7 @@ func (cli *DockerCli) CmdStart(args ...string) error {
 		cErr chan error
 		cErr chan error
 		tty  bool
 		tty  bool
 
 
-		cmd       = cli.Subcmd("start", "CONTAINER [CONTAINER...]", "Restart a stopped container", true)
+		cmd       = cli.Subcmd("start", "CONTAINER [CONTAINER...]", "Start one or more stopped containers", true)
 		attach    = cmd.Bool([]string{"a", "-attach"}, false, "Attach STDOUT/STDERR and forward signals")
 		attach    = cmd.Bool([]string{"a", "-attach"}, false, "Attach STDOUT/STDERR and forward signals")
 		openStdin = cmd.Bool([]string{"i", "-interactive"}, false, "Attach container's STDIN")
 		openStdin = cmd.Bool([]string{"i", "-interactive"}, false, "Attach container's STDIN")
 	)
 	)

+ 2 - 2
docs/man/docker-start.1.md

@@ -2,7 +2,7 @@
 % Docker Community
 % Docker Community
 % JUNE 2014
 % JUNE 2014
 # NAME
 # NAME
-docker-start - Restart a stopped container
+docker-start - Start one or more stopped containers
 
 
 # SYNOPSIS
 # SYNOPSIS
 **docker start**
 **docker start**
@@ -13,7 +13,7 @@ CONTAINER [CONTAINER...]
 
 
 # DESCRIPTION
 # DESCRIPTION
 
 
-Start a stopped container.
+Start one or more stopped containers.
 
 
 # OPTIONS
 # OPTIONS
 **-a**, **--attach**=*true*|*false*
 **-a**, **--attach**=*true*|*false*

+ 1 - 1
docs/sources/reference/commandline/cli.md

@@ -2081,7 +2081,7 @@ more details on finding shared images from the command line.
 
 
     Usage: docker start [OPTIONS] CONTAINER [CONTAINER...]
     Usage: docker start [OPTIONS] CONTAINER [CONTAINER...]
 
 
-    Restart a stopped container
+    Start one or more stopped containers
 
 
       -a, --attach=false         Attach STDOUT/STDERR and forward signals
       -a, --attach=false         Attach STDOUT/STDERR and forward signals
       -i, --interactive=false    Attach container's STDIN
       -i, --interactive=false    Attach container's STDIN