mirror of https://github.com/docker/cli.git
Added `network` to docker --help and help cleanup
Fixes https://github.com/docker/docker/issues/16909 Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
dd1d35285b
commit
3a779b2995
|
@ -1060,7 +1060,7 @@ _docker_network_ls() {
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--help --latest -l -n --no-trunc --quiet -q" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--help --no-trunc --quiet -q" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,8 +14,6 @@ parent = "smn_cli"
|
||||||
|
|
||||||
Lists all the networks created by the user
|
Lists all the networks created by the user
|
||||||
--help=false Print usage
|
--help=false Print usage
|
||||||
-l, --latest=false Show the latest network created
|
|
||||||
-n=-1 Show n last created networks
|
|
||||||
--no-trunc=false Do not truncate the output
|
--no-trunc=false Do not truncate the output
|
||||||
-q, --quiet=false Only display numeric IDs
|
-q, --quiet=false Only display numeric IDs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue