Merge pull request #11227 from coolljt0725/fix_start_help_message

Fix docker start help message
This commit is contained in:
moxiegirl 2015-03-09 09:54:36 -07:00
Родитель 8b516bf5ce 3c37f88aff
Коммит b85c137f1d
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -703,7 +703,7 @@ func (cli *DockerCli) CmdStart(args ...string) error {
cErr chan error
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")
openStdin = cmd.Bool([]string{"i", "-interactive"}, false, "Attach container's STDIN")
)

Просмотреть файл

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

Просмотреть файл

@ -2085,7 +2085,7 @@ more details on finding shared images from the command line.
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
-i, --interactive=false Attach container's STDIN