Merge pull request #28794 from yongtang/28786-docs-network-ls-dangling
Update docs of `docker network ls --filter`
This commit is contained in:
commit
03ba9a4922
|
@ -43,7 +43,7 @@ func newListCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
flags.BoolVarP(&opts.quiet, "quiet", "q", false, "Only display network IDs")
|
flags.BoolVarP(&opts.quiet, "quiet", "q", false, "Only display network IDs")
|
||||||
flags.BoolVar(&opts.noTrunc, "no-trunc", false, "Do not truncate the output")
|
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.StringVar(&opts.format, "format", "", "Pretty-print networks using a Go template")
|
||||||
flags.VarP(&opts.filter, "filter", "f", "Provide filter values (i.e. 'dangling=true')")
|
flags.VarP(&opts.filter, "filter", "f", "Provide filter values (e.g. 'driver=bridge')")
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ Aliases:
|
||||||
ls, list
|
ls, list
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-f, --filter value Provide filter values (i.e. 'dangling=true') (default [])
|
-f, --filter filter Provide filter values (e.g. 'driver=bridge')
|
||||||
--format string Pretty-print networks using a Go template
|
--format string Pretty-print networks using a Go template
|
||||||
--help Print usage
|
--help Print usage
|
||||||
--no-trunc Do not truncate the output
|
--no-trunc Do not truncate the output
|
||||||
|
|
Loading…
Reference in New Issue