From 6dbd6ffe1109b984ba71dd90c2b58e80bb041093 Mon Sep 17 00:00:00 2001 From: Matthias Schoettle Date: Thu, 31 Mar 2022 10:12:00 -0400 Subject: [PATCH] fix typo in ssh option description Signed-off-by: Matthias Schoettle --- cmd/compose/build.go | 2 +- docs/reference/compose_build.md | 2 +- docs/reference/docker_compose_build.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/compose/build.go b/cmd/compose/build.go index 5dccc345..298d3b67 100644 --- a/cmd/compose/build.go +++ b/cmd/compose/build.go @@ -108,7 +108,7 @@ func buildCommand(p *projectOptions, backend api.Service) *cobra.Command { cmd.Flags().BoolVar(&opts.pull, "pull", false, "Always attempt to pull a newer version of the image.") cmd.Flags().StringVar(&opts.progress, "progress", buildx.PrinterModeAuto, fmt.Sprintf(`Set type of progress output (%s)`, strings.Join(printerModes, ", "))) cmd.Flags().StringArrayVar(&opts.args, "build-arg", []string{}, "Set build-time variables for services.") - cmd.Flags().StringVar(&opts.ssh, "ssh", "", "Set SSH authentications used when building service images. (use 'default' for using you default SSH Agent)") + cmd.Flags().StringVar(&opts.ssh, "ssh", "", "Set SSH authentications used when building service images. (use 'default' for using your default SSH Agent)") cmd.Flags().Bool("parallel", true, "Build images in parallel. DEPRECATED") cmd.Flags().MarkHidden("parallel") //nolint:errcheck cmd.Flags().Bool("compress", true, "Compress the build context using gzip. DEPRECATED") diff --git a/docs/reference/compose_build.md b/docs/reference/compose_build.md index 68d01f18..292df454 100644 --- a/docs/reference/compose_build.md +++ b/docs/reference/compose_build.md @@ -12,7 +12,7 @@ Build or rebuild services | `--progress` | `string` | `auto` | Set type of progress output (auto, tty, plain, quiet) | | `--pull` | | | Always attempt to pull a newer version of the image. | | `-q`, `--quiet` | | | Don't print anything to STDOUT | -| `--ssh` | `string` | | Set SSH authentications used when building service images. (use 'default' for using you default SSH Agent) | +| `--ssh` | `string` | | Set SSH authentications used when building service images. (use 'default' for using your default SSH Agent) | diff --git a/docs/reference/docker_compose_build.yaml b/docs/reference/docker_compose_build.yaml index 8fdca2e4..05c62bd3 100644 --- a/docs/reference/docker_compose_build.yaml +++ b/docs/reference/docker_compose_build.yaml @@ -120,7 +120,7 @@ options: - option: ssh value_type: string description: | - Set SSH authentications used when building service images. (use 'default' for using you default SSH Agent) + Set SSH authentications used when building service images. (use 'default' for using your default SSH Agent) deprecated: false hidden: false experimental: false