Merge pull request #368 from jphuynh/completion-zsh-system-prune-volumes

Add zsh completion for `system prune --volumes`
This commit is contained in:
Vincent Demeester 2017-07-21 11:20:59 +02:00 committed by GitHub
commit 814827ef0d
1 changed files with 2 additions and 1 deletions

View File

@ -2376,7 +2376,8 @@ __docker_system_subcommand() {
$opts_help \
"($help -a --all)"{-a,--all}"[Remove all unused data, not just dangling ones]" \
"($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)
_arguments $(__docker_arguments) ":subcommand:__docker_volume_commands" && ret=0