From 41d05287916b0cbddb1d5867466d8efacd08d529 Mon Sep 17 00:00:00 2001 From: s3onghyun Date: Thu, 18 Jun 2026 17:38:21 +0900 Subject: [PATCH] Fix grammar in --menu flag description Signed-off-by: s3onghyun --- cmd/compose/up.go | 2 +- docs/reference/compose_up.md | 2 +- docs/reference/docker_compose_up.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/compose/up.go b/cmd/compose/up.go index cda2678bbb2..f6003ad9303 100644 --- a/cmd/compose/up.go +++ b/cmd/compose/up.go @@ -173,7 +173,7 @@ func upCommand(p *ProjectOptions, dockerCli command.Cli, backendOptions *Backend flags.BoolVar(&up.wait, "wait", false, "Wait for services to be running|healthy. Implies detached mode.") flags.IntVar(&up.waitTimeout, "wait-timeout", 0, "Maximum duration in seconds to wait for the project to be running|healthy") flags.BoolVarP(&up.watch, "watch", "w", false, "Watch source code and rebuild/refresh containers when files are updated.") - flags.BoolVar(&up.navigationMenu, "menu", false, "Enable interactive shortcuts when running attached. Incompatible with --detach. Can also be enable/disable by setting COMPOSE_MENU environment var.") + flags.BoolVar(&up.navigationMenu, "menu", false, "Enable interactive shortcuts when running attached. Incompatible with --detach. Can also be enabled/disabled by setting COMPOSE_MENU environment var.") flags.BoolVarP(&create.AssumeYes, "yes", "y", false, `Assume "yes" as answer to all prompts and run non-interactively`) flags.SetNormalizeFunc(func(f *pflag.FlagSet, name string) pflag.NormalizedName { // assumeYes was introduced by mistake as `--y` diff --git a/docs/reference/compose_up.md b/docs/reference/compose_up.md index b7f17a0fac9..479b4c0495d 100644 --- a/docs/reference/compose_up.md +++ b/docs/reference/compose_up.md @@ -35,7 +35,7 @@ If the process is interrupted using `SIGINT` (ctrl + C) or `SIGTERM`, the contai | `--dry-run` | `bool` | | Execute command in dry run mode | | `--exit-code-from` | `string` | | Return the exit code of the selected service container. Implies --abort-on-container-exit | | `--force-recreate` | `bool` | | Recreate containers even if their configuration and image haven't changed | -| `--menu` | `bool` | | Enable interactive shortcuts when running attached. Incompatible with --detach. Can also be enable/disable by setting COMPOSE_MENU environment var. | +| `--menu` | `bool` | | Enable interactive shortcuts when running attached. Incompatible with --detach. Can also be enabled/disabled by setting COMPOSE_MENU environment var. | | `--no-attach` | `stringArray` | | Do not attach (stream logs) to the specified services | | `--no-build` | `bool` | | Don't build an image, even if it's policy | | `--no-color` | `bool` | | Produce monochrome output | diff --git a/docs/reference/docker_compose_up.yaml b/docs/reference/docker_compose_up.yaml index 8c78a8fa683..15cebaafb50 100644 --- a/docs/reference/docker_compose_up.yaml +++ b/docs/reference/docker_compose_up.yaml @@ -123,7 +123,7 @@ options: value_type: bool default_value: "false" description: | - Enable interactive shortcuts when running attached. Incompatible with --detach. Can also be enable/disable by setting COMPOSE_MENU environment var. + Enable interactive shortcuts when running attached. Incompatible with --detach. Can also be enabled/disabled by setting COMPOSE_MENU environment var. deprecated: false hidden: false experimental: false