mirror of https://github.com/docker/cli.git
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:
parent
9a16c4fccd
commit
cebe3440af
|
@ -2853,7 +2853,7 @@ _docker_volume_ls() {
|
||||||
_docker_volume_rm() {
|
_docker_volume_rm() {
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--force -f --help" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
__docker_complete_volumes
|
__docker_complete_volumes
|
||||||
|
|
|
@ -1360,6 +1360,7 @@ __docker_volume_subcommand() {
|
||||||
(rm)
|
(rm)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
"($help -f --force)"{-f,--force}"[Force the removal of one or more volumes]" \
|
||||||
"($help -):volume:__docker_volumes" && ret=0
|
"($help -):volume:__docker_volumes" && ret=0
|
||||||
;;
|
;;
|
||||||
(help)
|
(help)
|
||||||
|
|
Loading…
Reference in New Issue