From 15f5078d9562ef9509ea3e7955746c27c7d9e257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20St=C3=A4bler?= Date: Fri, 29 Sep 2023 10:36:38 +0200 Subject: [PATCH] Fix typo --- docs/reference/ko_apply.md | 2 +- docs/reference/ko_build.md | 2 +- docs/reference/ko_create.md | 2 +- docs/reference/ko_resolve.md | 2 +- docs/reference/ko_run.md | 2 +- pkg/commands/options/build.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/ko_apply.md b/docs/reference/ko_apply.md index dd7e512702..4b5c3d32a6 100644 --- a/docs/reference/ko_apply.md +++ b/docs/reference/ko_apply.md @@ -47,7 +47,7 @@ ko apply -f FILENAME [flags] ``` --bare Whether to just use KO_DOCKER_REPO without additional context (may not work properly with --tags). -B, --base-import-paths Whether to use the base path without MD5 hash after KO_DOCKER_REPO (may not work properly with --tags). - --debug Include Delve debugger into image and wrap arround ko-app. This debugger will listen to port 40000. + --debug Include Delve debugger into image and wrap around ko-app. This debugger will listen to port 40000. --disable-optimizations Disable optimizations when building Go code. Useful when you want to interactively debug the created container. -f, --filename strings Filename, directory, or URL to files to use to create the resource -h, --help help for apply diff --git a/docs/reference/ko_build.md b/docs/reference/ko_build.md index 7dd22905e2..a2c6bb2009 100644 --- a/docs/reference/ko_build.md +++ b/docs/reference/ko_build.md @@ -44,7 +44,7 @@ ko build IMPORTPATH... [flags] ``` --bare Whether to just use KO_DOCKER_REPO without additional context (may not work properly with --tags). -B, --base-import-paths Whether to use the base path without MD5 hash after KO_DOCKER_REPO (may not work properly with --tags). - --debug Include Delve debugger into image and wrap arround ko-app. This debugger will listen to port 40000. + --debug Include Delve debugger into image and wrap around ko-app. This debugger will listen to port 40000. --disable-optimizations Disable optimizations when building Go code. Useful when you want to interactively debug the created container. -h, --help help for build --image-label strings Which labels (key=value) to add to the image. diff --git a/docs/reference/ko_create.md b/docs/reference/ko_create.md index 8cd4567eed..0e812e5696 100644 --- a/docs/reference/ko_create.md +++ b/docs/reference/ko_create.md @@ -47,7 +47,7 @@ ko create -f FILENAME [flags] ``` --bare Whether to just use KO_DOCKER_REPO without additional context (may not work properly with --tags). -B, --base-import-paths Whether to use the base path without MD5 hash after KO_DOCKER_REPO (may not work properly with --tags). - --debug Include Delve debugger into image and wrap arround ko-app. This debugger will listen to port 40000. + --debug Include Delve debugger into image and wrap around ko-app. This debugger will listen to port 40000. --disable-optimizations Disable optimizations when building Go code. Useful when you want to interactively debug the created container. -f, --filename strings Filename, directory, or URL to files to use to create the resource -h, --help help for create diff --git a/docs/reference/ko_resolve.md b/docs/reference/ko_resolve.md index cb932013f9..2fb87ab7fb 100644 --- a/docs/reference/ko_resolve.md +++ b/docs/reference/ko_resolve.md @@ -40,7 +40,7 @@ ko resolve -f FILENAME [flags] ``` --bare Whether to just use KO_DOCKER_REPO without additional context (may not work properly with --tags). -B, --base-import-paths Whether to use the base path without MD5 hash after KO_DOCKER_REPO (may not work properly with --tags). - --debug Include Delve debugger into image and wrap arround ko-app. This debugger will listen to port 40000. + --debug Include Delve debugger into image and wrap around ko-app. This debugger will listen to port 40000. --disable-optimizations Disable optimizations when building Go code. Useful when you want to interactively debug the created container. -f, --filename strings Filename, directory, or URL to files to use to create the resource -h, --help help for resolve diff --git a/docs/reference/ko_run.md b/docs/reference/ko_run.md index c32d08373b..b9d858ada0 100644 --- a/docs/reference/ko_run.md +++ b/docs/reference/ko_run.md @@ -32,7 +32,7 @@ ko run IMPORTPATH [flags] ``` --bare Whether to just use KO_DOCKER_REPO without additional context (may not work properly with --tags). -B, --base-import-paths Whether to use the base path without MD5 hash after KO_DOCKER_REPO (may not work properly with --tags). - --debug Include Delve debugger into image and wrap arround ko-app. This debugger will listen to port 40000. + --debug Include Delve debugger into image and wrap around ko-app. This debugger will listen to port 40000. --disable-optimizations Disable optimizations when building Go code. Useful when you want to interactively debug the created container. -h, --help help for run --image-label strings Which labels (key=value) to add to the image. diff --git a/pkg/commands/options/build.go b/pkg/commands/options/build.go index 027dc93869..89a46f58a8 100644 --- a/pkg/commands/options/build.go +++ b/pkg/commands/options/build.go @@ -86,7 +86,7 @@ func AddBuildOptions(cmd *cobra.Command, bo *BuildOptions) { cmd.Flags().StringSliceVar(&bo.Labels, "image-label", []string{}, "Which labels (key=value) to add to the image.") cmd.Flags().BoolVar(&bo.Debug, "debug", bo.Debug, - "Include Delve debugger into image and wrap arround ko-app. This debugger will listen to port 40000.") + "Include Delve debugger into image and wrap around ko-app. This debugger will listen to port 40000.") bo.Trimpath = true }