From de10af7bd7ff3e80422ea80a327d2999e7b1dc60 Mon Sep 17 00:00:00 2001 From: Madhu Venugopal Date: Thu, 15 Oct 2015 03:10:39 -0700 Subject: [PATCH] Added `network` to docker --help and help cleanup Fixes https://github.com/docker/docker/issues/16909 Signed-off-by: Madhu Venugopal Upstream-commit: 3a779b2995ca03625637e20042d14a0b2b589867 Component: cli --- components/cli/contrib/completion/bash/docker | 2 +- components/cli/docs/reference/commandline/network_ls.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/cli/contrib/completion/bash/docker b/components/cli/contrib/completion/bash/docker index 739d97b2d7..c1720e458c 100644 --- a/components/cli/contrib/completion/bash/docker +++ b/components/cli/contrib/completion/bash/docker @@ -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 } diff --git a/components/cli/docs/reference/commandline/network_ls.md b/components/cli/docs/reference/commandline/network_ls.md index 0d2294e6fc..09f290f06c 100644 --- a/components/cli/docs/reference/commandline/network_ls.md +++ b/components/cli/docs/reference/commandline/network_ls.md @@ -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