mirror of
https://github.com/docker/compose.git
synced 2025-05-03 22:20:14 +02:00
Merge pull request #1499 from sdurrheimer/master
Support version command in zsh completion
This commit is contained in:
commit
417e8d80c3
@ -243,6 +243,10 @@ __docker-compose_subcommand () {
|
|||||||
"--x-smart-recreate[Only recreate containers whose configuration or image needs to be updated. (EXPERIMENTAL)]" \
|
"--x-smart-recreate[Only recreate containers whose configuration or image needs to be updated. (EXPERIMENTAL)]" \
|
||||||
'*:services:__docker-compose_services_all' && ret=0
|
'*:services:__docker-compose_services_all' && ret=0
|
||||||
;;
|
;;
|
||||||
|
(version)
|
||||||
|
_arguments \
|
||||||
|
"--short[Shows only Compose's version number.]" && ret=0
|
||||||
|
;;
|
||||||
(*)
|
(*)
|
||||||
_message 'Unknown sub command'
|
_message 'Unknown sub command'
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user