diff --git a/api/client/network/list.go b/api/client/network/list.go index 3b6622f83e..c332a801d8 100644 --- a/api/client/network/list.go +++ b/api/client/network/list.go @@ -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')") diff --git a/docs/reference/commandline/network_ls.md b/docs/reference/commandline/network_ls.md index d1d92f4be8..18a65da06a 100644 --- a/docs/reference/commandline/network_ls.md +++ b/docs/reference/commandline/network_ls.md @@ -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 diff --git a/man/docker-network-ls.1.md b/man/docker-network-ls.1.md index d5399d7a59..4166ba967a 100644 --- a/man/docker-network-ls.1.md +++ b/man/docker-network-ls.1.md @@ -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