From c75418ee07f7c50f2203fb3b5404324fe076b7a2 Mon Sep 17 00:00:00 2001 From: Nicolas De loof Date: Thu, 4 Sep 2025 12:10:19 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com> Signed-off-by: Nicolas De loof Signed-off-by: Nicolas De Loof --- docs/reference/compose_exec.md | 2 +- docs/reference/docker_compose_exec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/compose_exec.md b/docs/reference/compose_exec.md index adf944745..ab3bbbe35 100644 --- a/docs/reference/compose_exec.md +++ b/docs/reference/compose_exec.md @@ -20,7 +20,7 @@ a script. | `--dry-run` | `bool` | | Execute command in dry run mode | | `-e`, `--env` | `stringArray` | | Set environment variables | | `--index` | `int` | `0` | Index of the container if service has multiple replicas | -| `-T`, `--no-TTY` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. | +| `-T`, `--no-tty` | `bool` | `true` | Disable pseudo-TTY allocation. By default `docker compose exec` allocates a TTY. | | `--privileged` | `bool` | | Give extended privileges to the process | | `-u`, `--user` | `string` | | Run the command as this user | | `-w`, `--workdir` | `string` | | Path to workdir directory for this command | diff --git a/docs/reference/docker_compose_exec.yaml b/docs/reference/docker_compose_exec.yaml index 691605831..749682c96 100644 --- a/docs/reference/docker_compose_exec.yaml +++ b/docs/reference/docker_compose_exec.yaml @@ -58,7 +58,7 @@ options: experimentalcli: false kubernetes: false swarm: false - - option: no-TTY + - option: no-tty shorthand: T value_type: bool default_value: "true"