update attach.go filepath and code snippet

Signed-off-by: Sam Waggoner <samwagg0583@gmail.com>
This commit is contained in:
Sam Waggoner 2016-10-05 18:21:19 -07:00
parent b51bb39ee9
commit 0e9881933b
1 changed files with 4 additions and 4 deletions

View File

@ -255,23 +255,23 @@ example, you'll edit the help for the `attach` subcommand.
Your location should be different because, at least, your username is
different.
3. Open the `api/client/attach.go` file.
3. Open the `cli/command/container/attach.go` file.
4. Edit the command's help message.
For example, you can edit this line:
```go
noStdin := cmd.Bool([]string{"-no-stdin"}, false, "Do not attach STDIN")
flags.BoolVar(&opts.noStdin, "no-stdin", false, "Do not attach STDIN")
```
And change it to this:
```go
noStdin := cmd.Bool([]string{"-no-stdin"}, false, "Do not attach STDIN (standard in)")
flags.BoolVar(&opts.noStdin, "no-stdin", false, "Do not attach STDIN (standard in)")
```
5. Save and close the `api/client/attach.go` file.
5. Save and close the `cli/command/container/attach.go` file.
6. Go to your running development container.