Skip to content

Commit

Permalink
Added network to docker --help and help cleanup
Browse files Browse the repository at this point in the history
Fixes moby#16909

Signed-off-by: Madhu Venugopal <[email protected]>
  • Loading branch information
mavenugo committed Oct 15, 2015
1 parent 919c3c1 commit 46f7ab3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions cli/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var dockerCommands = []Command{
{"login", "Register or log in to a Docker registry"},
{"logout", "Log out from a Docker registry"},
{"logs", "Fetch the logs of a container"},
{"network", "Manage Docker networks"},
{"pause", "Pause all processes within a container"},
{"port", "List port mappings or a specific mapping for the CONTAINER"},
{"ps", "List containers"},
Expand Down
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 0 additions & 2 deletions docs/reference/commandline/network_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 46f7ab3

Please sign in to comment.