Add zsh completion for 'docker-compose run --name'

Signed-off-by: Steve Durrheimer <steve.durrheimer@netapsys.fr>
This commit is contained in:
Steve Durrheimer 2015-09-18 22:42:19 +02:00
parent bbc8b74c17
commit 12b38adfac
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ __docker-compose_subcommand() {
_arguments \ _arguments \
$opts_help \ $opts_help \
'-d[Detached mode: Run container in the background, print new container name.]' \ '-d[Detached mode: Run container in the background, print new container name.]' \
'--name[Assign a name to the container]:name: ' \
'--entrypoint[Overwrite the entrypoint of the image.]:entry point: ' \ '--entrypoint[Overwrite the entrypoint of the image.]:entry point: ' \
'*-e[KEY=VAL Set an environment variable (can be used multiple times)]:environment variable KEY=VAL: ' \ '*-e[KEY=VAL Set an environment variable (can be used multiple times)]:environment variable KEY=VAL: ' \
'(-u --user)'{-u,--user=-}'[Run as specified username or uid]:username or uid:_users' \ '(-u --user)'{-u,--user=-}'[Run as specified username or uid]:username or uid:_users' \