mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
test cobra
This commit is contained in:
parent
e7f6f0f93e
commit
5dfda23ded
@ -47,7 +47,7 @@ func (r *RootCmd) init() {
|
||||
}
|
||||
|
||||
func (r *RootCmd) AddPortFlag() {
|
||||
r.Command.Flags().IntP(constant.FlagPort, "p", 0, "server listen port")
|
||||
//r.Command.Flags().IntP(constant.FlagPort, "p", 0, "server listen port")
|
||||
r.portFlag = true
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user