completion/zsh: Allow multiple volumes of 'volume rm'

It is possible to give more than one volume for `docker volume rm`.

Signed-off-by: Jörg Sommer <joerg@jo-so.de>
This commit is contained in:
Jörg Sommer
2025-11-04 09:36:42 +01:00
parent 30d597df10
commit 4893a5d5e3

View File

@ -2533,7 +2533,7 @@ __docker_volume_subcommand() {
_arguments $(__docker_arguments) \
$opts_help \
"($help -f --force)"{-f,--force}"[Force the removal of one or more volumes]" \
"($help -):volume:__docker_complete_volumes" && ret=0
"($help -)*:volumes:__docker_complete_volumes" && ret=0
;;
(help)
_arguments $(__docker_arguments) ":subcommand:__docker_volume_commands" && ret=0