Add zsh completion for `system prune --volumes`

Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
Jean-Pierre Huynh 2017-07-20 23:13:04 +01:00
parent dfbad2bc5a
commit 6b256484ae
1 changed files with 2 additions and 1 deletions

View File

@ -2376,7 +2376,8 @@ __docker_system_subcommand() {
$opts_help \ $opts_help \
"($help -a --all)"{-a,--all}"[Remove all unused data, not just dangling ones]" \ "($help -a --all)"{-a,--all}"[Remove all unused data, not just dangling ones]" \
"($help)*--filter=[Filter values]:filter:__docker_complete_prune_filters" \ "($help)*--filter=[Filter values]:filter:__docker_complete_prune_filters" \
"($help -f --force)"{-f,--force}"[Do not prompt for confirmation]" && ret=0 "($help -f --force)"{-f,--force}"[Do not prompt for confirmation]" \
"($help)--volumes=[Remove all unused volumes]" && ret=0
;; ;;
(help) (help)
_arguments $(__docker_arguments) ":subcommand:__docker_volume_commands" && ret=0 _arguments $(__docker_arguments) ":subcommand:__docker_volume_commands" && ret=0