|
@@ -241,7 +241,7 @@ __docker-compose_subcommand() {
|
|
|
$opts_help \
|
|
|
'-d[Detached mode: Run command in the background.]' \
|
|
|
'--privileged[Give extended privileges to the process.]' \
|
|
|
- '--user=[Run the command as this user.]:username:_users' \
|
|
|
+ '(-u --user)'{-u,--user=}'[Run the command as this user.]:username:_users' \
|
|
|
'-T[Disable pseudo-tty allocation. By default `docker-compose exec` allocates a TTY.]' \
|
|
|
'--index=[Index of the container if there are multiple instances of a service \[default: 1\]]:index: ' \
|
|
|
'(-):running services:__docker-compose_runningservices' \
|