mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Move zsh completion logic to new subcommand: diff
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
abf2f0087d
commit
0632c34439
1 changed files with 4 additions and 4 deletions
|
@ -644,7 +644,9 @@ __docker_container_subcommand() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(diff)
|
(diff)
|
||||||
__docker_subcommand && ret=0
|
_arguments $(__docker_arguments) \
|
||||||
|
$opts_help \
|
||||||
|
"($help -)*:containers:__docker_complete_containers" && ret=0
|
||||||
;;
|
;;
|
||||||
(exec)
|
(exec)
|
||||||
__docker_subcommand && ret=0
|
__docker_subcommand && ret=0
|
||||||
|
@ -1896,9 +1898,7 @@ __docker_subcommand() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(diff)
|
(diff)
|
||||||
_arguments $(__docker_arguments) \
|
__docker_container_subcommand && ret=0
|
||||||
$opts_help \
|
|
||||||
"($help -)*:containers:__docker_complete_containers" && ret=0
|
|
||||||
;;
|
;;
|
||||||
(events)
|
(events)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
|
|
Loading…
Add table
Reference in a new issue