From cf2b7deaf16c2322a3c6eba4211886e221580146 Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Fri, 22 Sep 2023 12:14:20 -0700 Subject: [PATCH] Fix usage description for --dockerfile option Signed-off-by: Mattt Zmuda --- pkg/cli/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cli/build.go b/pkg/cli/build.go index cc46491ed4..aaf7acf6b3 100644 --- a/pkg/cli/build.go +++ b/pkg/cli/build.go @@ -89,5 +89,5 @@ func addUseCudaBaseImageFlag(cmd *cobra.Command) { } func addDockerfileFlag(cmd *cobra.Command) { - cmd.Flags().StringVar(&buildDockerfileFile, "dockerfile", "", "Path to a Dockerfile. If the flag is passed but no value is provided, defaults to the Dockerfile in the working directory.") + cmd.Flags().StringVar(&buildDockerfileFile, "dockerfile", "", "Path to a Dockerfile. If set, cog will use this Dockerfile instead of generating one from cog.yaml") }