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:
Madhu Venugopal 2015-10-15 03:10:39 -07:00 committed by Tibor Vass
parent dd1d35285b
commit 3a779b2995
2 changed files with 1 additions and 3 deletions

View File

@ -1060,7 +1060,7 @@ _docker_network_ls() {
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
}

View File

@ -14,8 +14,6 @@ parent = "smn_cli"
Lists all the networks created by the user
--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
-q, --quiet=false Only display numeric IDs