diff --git a/pkg/cmd/backtest.go b/pkg/cmd/backtest.go index 17d346224..d94e93023 100644 --- a/pkg/cmd/backtest.go +++ b/pkg/cmd/backtest.go @@ -43,7 +43,6 @@ func init() { BacktestCmd.Flags().Bool("base-asset-baseline", false, "use base asset performance as the competitive baseline performance") BacktestCmd.Flags().CountP("verbose", "v", "verbose level") - BacktestCmd.Flags().String("config", "bbgo.yaml", "strategy config file") BacktestCmd.Flags().Bool("force", false, "force execution without confirm") BacktestCmd.Flags().String("output", "", "the report output directory") BacktestCmd.Flags().Bool("subdir", false, "generate report in the sub-directory of the output directory") diff --git a/pkg/cmd/build.go b/pkg/cmd/build.go index 3a8c5c22d..3814f0228 100644 --- a/pkg/cmd/build.go +++ b/pkg/cmd/build.go @@ -11,7 +11,6 @@ import ( ) func init() { - BuildCmd.Flags().String("config", "bbgo.yaml", "config file") RootCmd.AddCommand(BuildCmd) }