补充cmd代码

This commit is contained in:
liwei1dao 2022-09-22 10:18:36 +08:00
parent 1d6917f2c4
commit 06d513c0d3

View File

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