Skip to content

Commit

Permalink
Merge pull request moby#11227 from coolljt0725/fix_start_help_message
Browse files Browse the repository at this point in the history
Fix docker start help message
  • Loading branch information
moxiegirl committed Mar 9, 2015
2 parents 8b516bf + 3c37f88 commit b85c137
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/client/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
Expand Down
4 changes: 2 additions & 2 deletions docs/man/docker-start.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand All @@ -13,7 +13,7 @@ CONTAINER [CONTAINER...]

# DESCRIPTION

Start a stopped container.
Start one or more stopped containers.

# OPTIONS
**-a**, **--attach**=*true*|*false*
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/reference/commandline/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b85c137

Please sign in to comment.