Merge pull request #32282 from mstanleyjones/improve-attach-desc

Clarify meaning of docker attach
This commit is contained in:
Sebastiaan van Stijn 2017-04-01 20:52:26 +02:00 committed by GitHub
commit a090dc9653
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func NewAttachCommand(dockerCli *command.DockerCli) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "attach [OPTIONS] CONTAINER", Use: "attach [OPTIONS] CONTAINER",
Short: "Attach to a running container", Short: "Attach local standard input, output, and error streams to a running container",
Args: cli.ExactArgs(1), Args: cli.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
opts.container = args[0] opts.container = args[0]