Skip to content

Commit 29874db

Browse files
committed
consistent config param for all sub-commands
1 parent 693b641 commit 29874db

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pkg/cmd/backtest.go

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ func init() {
4343

4444
BacktestCmd.Flags().Bool("base-asset-baseline", false, "use base asset performance as the competitive baseline performance")
4545
BacktestCmd.Flags().CountP("verbose", "v", "verbose level")
46-
BacktestCmd.Flags().String("config", "bbgo.yaml", "strategy config file")
4746
BacktestCmd.Flags().Bool("force", false, "force execution without confirm")
4847
BacktestCmd.Flags().String("output", "", "the report output directory")
4948
BacktestCmd.Flags().Bool("subdir", false, "generate report in the sub-directory of the output directory")

pkg/cmd/build.go

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
)
1212

1313
func init() {
14-
BuildCmd.Flags().String("config", "bbgo.yaml", "config file")
1514
RootCmd.AddCommand(BuildCmd)
1615
}
1716

0 commit comments

Comments
 (0)