Skip to content

Commit 4893a5d

Browse files
committed
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 <[email protected]>
1 parent 30d597d commit 4893a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/zsh/_docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,7 +2533,7 @@ __docker_volume_subcommand() {
25332533
_arguments $(__docker_arguments) \
25342534
$opts_help \
25352535
"($help -f --force)"{-f,--force}"[Force the removal of one or more volumes]" \
2536-
"($help -):volume:__docker_complete_volumes" && ret=0
2536+
"($help -)*:volumes:__docker_complete_volumes" && ret=0
25372537
;;
25382538
(help)
25392539
_arguments $(__docker_arguments) ":subcommand:__docker_volume_commands" && ret=0

0 commit comments

Comments
 (0)