From 6b256484ae3cb4da78e6ddad75b8aaf552b9ae60 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Huynh Date: Thu, 20 Jul 2017 23:13:04 +0100 Subject: [PATCH] Add zsh completion for `system prune --volumes` Signed-off-by: Jean-Pierre Huynh --- contrib/completion/zsh/_docker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 075e87aa93..d5eeca2413 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -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