Skip to content

Commit

Permalink
Merge pull request docker#368 from jphuynh/completion-zsh-system-prun…
Browse files Browse the repository at this point in the history
…e-volumes

Add zsh completion for `system prune --volumes`
Upstream-commit: 814827ef0ddc87850c7111ad1db4a41b30ebc588
Component: cli
  • Loading branch information
Vincent Demeester committed Jul 21, 2017
2 parents 4ea813d + a3b4134 commit 9c4647a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/cli/contrib/completion/zsh/_docker
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c4647a

Please sign in to comment.