1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #26313 from yongtang/26312-network-ls-help-output-volume

Fix incorrect help output in `docker network ls`
This commit is contained in:
Vincent Demeester 2016-09-05 19:13:09 +02:00 committed by GitHub
commit 1325cde252
3 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ func newListCommand(dockerCli *client.DockerCli) *cobra.Command {
}
flags := cmd.Flags()
flags.BoolVarP(&opts.quiet, "quiet", "q", false, "Only display volume names")
flags.BoolVarP(&opts.quiet, "quiet", "q", false, "Only display network IDs")
flags.BoolVar(&opts.noTrunc, "no-trunc", false, "Do not truncate the output")
flags.StringVar(&opts.format, "format", "", "Pretty-print networks using a Go template")
flags.StringSliceVarP(&opts.filter, "filter", "f", []string{}, "Provide filter values (i.e. 'dangling=true')")

View file

@ -23,7 +23,7 @@ Options:
--format string Pretty-print networks using a Go template
--help Print usage
--no-trunc Do not truncate the output
-q, --quiet Only display volume names
-q, --quiet Only display network IDs
```
Lists all the networks the Engine `daemon` knows about. This includes the

View file

@ -179,7 +179,7 @@ attached.
Do not truncate the output
**-q**, **--quiet**=*true*|*false*
Only display numeric IDs
Only display network IDs
**--help**
Print usage statement