Fixes https://github.com/docker/docker/issues/16909
Signed-off-by: Madhu Venugopal <madhu@docker.com>
| ... | ... |
@@ -45,6 +45,7 @@ var dockerCommands = []Command{
|
| 45 | 45 |
{"login", "Register or log in to a Docker registry"},
|
| 46 | 46 |
{"logout", "Log out from a Docker registry"},
|
| 47 | 47 |
{"logs", "Fetch the logs of a container"},
|
| 48 |
+ {"network", "Manage Docker networks"},
|
|
| 48 | 49 |
{"pause", "Pause all processes within a container"},
|
| 49 | 50 |
{"port", "List port mappings or a specific mapping for the CONTAINER"},
|
| 50 | 51 |
{"ps", "List containers"},
|
| ... | ... |
@@ -1060,7 +1060,7 @@ _docker_network_ls() {
|
| 1060 | 1060 |
|
| 1061 | 1061 |
case "$cur" in |
| 1062 | 1062 |
-*) |
| 1063 |
- COMPREPLY=( $( compgen -W "--help --latest -l -n --no-trunc --quiet -q" -- "$cur" ) ) |
|
| 1063 |
+ COMPREPLY=( $( compgen -W "--help --no-trunc --quiet -q" -- "$cur" ) ) |
|
| 1064 | 1064 |
;; |
| 1065 | 1065 |
esac |
| 1066 | 1066 |
} |
| ... | ... |
@@ -14,8 +14,6 @@ parent = "smn_cli" |
| 14 | 14 |
|
| 15 | 15 |
Lists all the networks created by the user |
| 16 | 16 |
--help=false Print usage |
| 17 |
- -l, --latest=false Show the latest network created |
|
| 18 |
- -n=-1 Show n last created networks |
|
| 19 | 17 |
--no-trunc=false Do not truncate the output |
| 20 | 18 |
-q, --quiet=false Only display numeric IDs |
| 21 | 19 |
|