1
0
mirror of https://github.com/docker/cli.git synced 2026-01-23 15:21:32 +03:00

Add zsh completion logic to new subcommand: inspect

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: d0014299b420191ceef627ed8dda809914b9ff4c
Component: engine
This commit is contained in:
Steve Durrheimer
2016-10-30 21:52:45 +01:00
parent d6334ea62f
commit 572723e3ba

View File

@@ -941,7 +941,10 @@ __docker_image_subcommand() {
"($help -): :__docker_complete_repositories_with_tags" && 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 -)*:images:__docker_complete_images" && ret=0
;;
(load)
__docker_subcommand && ret=0