Add zsh completion logic to new subcommand: inspect
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
911ef73ee1
commit
e5424b656b
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue