1
0
mirror of https://github.com/docker/cli.git synced 2026-01-25 03:42:05 +03:00

Add zsh completion logic to new subcommand: inspect

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: e5424b656b0eeb7006384d8846c8e05e02a9e35f
Component: engine
This commit is contained in:
Steve Durrheimer
2016-10-30 16:45:02 +01:00
parent 4553330ab9
commit bd9b143f60

View File

@@ -676,7 +676,11 @@ __docker_container_subcommand() {
"($help -)*:containers:__docker_complete_containers" && ret=0
;;
(inspect)
__docker_subcommand && ret=0
_arguments $(__docker_arguments) \
$opts_help \
"($help -f --format)"{-f=,--format=}"[Format the output using the given go template]:template: " \
"($help -s --size)"{-s,--size}"[Display total file sizes]" \
"($help -)*:containers:__docker_complete_containers" && ret=0
;;
(kill)
__docker_subcommand && ret=0