Update zsh and bash completion scripts.

This is to update the zsh and bash completion script for
23367.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2016-08-18 18:41:15 -07:00 committed by Tibor Vass
parent 9a16c4fccd
commit cebe3440af
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)