1
0
mirror of https://github.com/ko-build/ko.git synced 2025-09-16 08:56:23 +02:00

Remove extra dashes (#86)

This commit is contained in:
jonjohnsonjr
2019-09-20 09:39:18 -07:00
committed by GitHub
parent 451287a90e
commit f26825fb5a

View File

@@ -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.")