From 7fd2c809622e66bb3157fbf1ab797152636a2df5 Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Thu, 18 Aug 2016 18:41:15 -0700 Subject: [PATCH] Update zsh and bash completion scripts. This is to update the zsh and bash completion script for 23367. Signed-off-by: Yong Tang --- contrib/completion/bash/docker | 2 +- contrib/completion/zsh/_docker | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 197f8977e9..1bc4f73667 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -2853,7 +2853,7 @@ _docker_volume_ls() { _docker_volume_rm() { case "$cur" in -*) - COMPREPLY=( $( compgen -W "--help" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "--force -f --help" -- "$cur" ) ) ;; *) __docker_complete_volumes diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 615c9869a2..ab445c92ba 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -1360,6 +1360,7 @@ __docker_volume_subcommand() { (rm) _arguments $(__docker_arguments) \ $opts_help \ + "($help -f --force)"{-f,--force}"[Force the removal of one or more volumes]" \ "($help -):volume:__docker_volumes" && ret=0 ;; (help)