Merge pull request #2073 from sdurrheimer/zsh-completion-run-name

Add zsh completion for 'docker-compose run --name'
This commit is contained in:
Aanand Prasad 2015-09-21 12:35:29 +02:00
commit 36d886b8b0
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ __docker-compose_subcommand() {
_arguments \
$opts_help \
'-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: ' \
'*-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' \