1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Fix incorrect help output in docker network ls

As is raised in 26312, in `docker network ls`, the help output was
mistaken to `volume names`:
```
-q, --quiet Only display volume names
```

This fix changes the help output to:
```
-q, --quiet Only display network IDs
```

This fix also updates the documentation in:
`docs/reference/commandline/network_ls.md`

This fix fixes 26312.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 6aa365d7e9
Component: cli
This commit is contained in:
Yong Tang
2016-09-05 03:11:14 -07:00
committed by Tibor Vass
parent ea5f807b43
commit aefafb4581
2 changed files with 2 additions and 2 deletions

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