补充cmd代码
This commit is contained in:
parent
1d6917f2c4
commit
06d513c0d3
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user