mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
remove legacy cmd flags
This commit is contained in:
parent
45876968d9
commit
503df57e72
|
@ -2,7 +2,6 @@ package cmd
|
|||
|
||||
import (
|
||||
"context"
|
||||
"runtime"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
log "github.com/sirupsen/logrus"
|
||||
|
@ -12,9 +11,6 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
BuildCmd.Flags().StringP("output", "o", "", "binary output")
|
||||
BuildCmd.Flags().String("os", runtime.GOOS, "GOOS")
|
||||
BuildCmd.Flags().String("arch", runtime.GOARCH, "GOARCH")
|
||||
BuildCmd.Flags().String("config", "", "config file")
|
||||
RootCmd.AddCommand(BuildCmd)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user