From bcc97c1906d8d5840ee080fc94d3956b4ba36c2d Mon Sep 17 00:00:00 2001 From: c9s Date: Fri, 23 Oct 2020 14:29:02 +0800 Subject: [PATCH] cmd: rename slack-trading-channel to slack-channel --- pkg/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/root.go b/pkg/cmd/root.go index 9a15a01f6..cbce59956 100644 --- a/pkg/cmd/root.go +++ b/pkg/cmd/root.go @@ -36,7 +36,7 @@ func init() { // the command it's assigned to as well as every command under that command. // For global flags, assign a flag as a persistent flag on the root. RootCmd.PersistentFlags().String("slack-token", "", "slack token") - RootCmd.PersistentFlags().String("slack-trading-channel", "dev-bbgo", "slack trading channel") + RootCmd.PersistentFlags().String("slack-channel", "dev-bbgo", "slack trading channel") RootCmd.PersistentFlags().String("slack-error-channel", "bbgo-error", "slack error channel") RootCmd.PersistentFlags().String("binance-api-key", "", "binance api key")