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

Clarify meaning of docker attach
Upstream-commit: a090dc9653
Component: cli
This commit is contained in:
Sebastiaan van Stijn
2017-04-01 20:52:26 +02:00
committed by GitHub

View File

@ -28,7 +28,7 @@ func NewAttachCommand(dockerCli *command.DockerCli) *cobra.Command {
cmd := &cobra.Command{
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),
RunE: func(cmd *cobra.Command, args []string) error {
opts.container = args[0]