From f26825fb5ac45444c2b3da8a2a0fc28ca4a6537d Mon Sep 17 00:00:00 2001 From: jonjohnsonjr Date: Fri, 20 Sep 2019 09:39:18 -0700 Subject: [PATCH] Remove extra dashes (#86) --- pkg/commands/options/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/options/build.go b/pkg/commands/options/build.go index 10a58457..94e8b141 100644 --- a/pkg/commands/options/build.go +++ b/pkg/commands/options/build.go @@ -27,7 +27,7 @@ type BuildOptions struct { } func AddBuildOptions(cmd *cobra.Command, bo *BuildOptions) { - cmd.Flags().IntVarP(&bo.ConcurrentBuilds, "--jobs", "j", runtime.GOMAXPROCS(0), + cmd.Flags().IntVarP(&bo.ConcurrentBuilds, "jobs", "j", runtime.GOMAXPROCS(0), "The maximum number of concurrent builds") cmd.Flags().BoolVar(&bo.DisableOptimizations, "disable-optimizations", bo.DisableOptimizations, "Disable optimizations when building Go code. Useful when you want to interactively debug the created container.")