Skip to content

Commit c75418e

Browse files
ndeloofaevesdocker
authored andcommitted
Apply suggestions from code review
Co-authored-by: Allie Sadler <[email protected]> Signed-off-by: Nicolas De loof <[email protected]> Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 0cdc5c9 commit c75418e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/reference/compose_exec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ a script.
2020
| `--dry-run` | `bool` | | Execute command in dry run mode |
2121
| `-e`, `--env` | `stringArray` | | Set environment variables |
2222
| `--index` | `int` | `0` | Index of the container if service has multiple replicas |
23-
| `-T`, `--no-TTY` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. |
23+
| `-T`, `--no-tty` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. |
2424
| `--privileged` | `bool` | | Give extended privileges to the process |
2525
| `-u`, `--user` | `string` | | Run the command as this user |
2626
| `-w`, `--workdir` | `string` | | Path to workdir directory for this command |

docs/reference/docker_compose_exec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ options:
5858
experimentalcli: false
5959
kubernetes: false
6060
swarm: false
61-
- option: no-TTY
61+
- option: no-tty
6262
shorthand: T
6363
value_type: bool
6464
default_value: "true"

0 commit comments

Comments
 (0)