From 06d513c0d3cdcfb8612bcc8758ff4914d863dddf Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 22 Sep 2022 10:18:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85cmd=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cmd/main.go b/services/cmd/main.go index 02d21f883..cbb98879a 100644 --- a/services/cmd/main.go +++ b/services/cmd/main.go @@ -64,7 +64,7 @@ func init() { RootCmd.PersistentFlags().StringVarP(&gmpath, "gm", "g", "./gm.json", "游戏区服配置") RootCmd.PersistentFlags().StringVarP(&crosspath, "cross", "c", "./cross.json", "游戏跨服配置") RootCmd.PersistentFlags().StringVarP(&sid, "sid", "i", "", "区服id") - RootCmd.AddCommand(startCmd, stopCmd) + RootCmd.AddCommand(confCmd, startCmd, stopCmd) } func main() {