mirror of
https://github.com/docker/compose.git
synced 2025-04-07 19:55:07 +02:00
Support version command in zsh completion
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
8eb65ed946
commit
77409737ce
@ -243,6 +243,10 @@ __docker-compose_subcommand () {
|
||||
"--x-smart-recreate[Only recreate containers whose configuration or image needs to be updated. (EXPERIMENTAL)]" \
|
||||
'*:services:__docker-compose_services_all' && ret=0
|
||||
;;
|
||||
(version)
|
||||
_arguments \
|
||||
"--short[Shows only Compose's version number.]" && ret=0
|
||||
;;
|
||||
(*)
|
||||
_message 'Unknown sub command'
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user