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() {