mirror of https://github.com/docker/cli.git
Add zsh completion for `system prune --volumes`
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
This commit is contained in:
parent
dfbad2bc5a
commit
6b256484ae
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue