From 334e3a39405feb0fdd682eee15cea57493e1e14d Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 15 Mar 2022 22:13:37 +0800 Subject: [PATCH] fix build cmd --config option --- pkg/cmd/build.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/cmd/build.go b/pkg/cmd/build.go index 0dbacb2db..3a8c5c22d 100644 --- a/pkg/cmd/build.go +++ b/pkg/cmd/build.go @@ -12,7 +12,6 @@ import ( func init() { BuildCmd.Flags().String("config", "bbgo.yaml", "config file") - BuildCmd.MarkFlagRequired("config") RootCmd.AddCommand(BuildCmd) }