test-errcode
wangchuxiao 2 years ago
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…
Cancel
Save