Browse Source

commands: drop http server flags from reload command

pull/3584/head
Frank Schroeder 7 years ago committed by Frank Schröder
parent
commit
0cadee99ff
  1. 3
      command/reload/reload.go

3
command/reload/reload.go

@ -25,8 +25,7 @@ func (c *cmd) init() {
c.flags = flag.NewFlagSet("", flag.ContinueOnError)
c.http = &flags.HTTPFlags{}
flags.Merge(c.flags, c.http.ClientFlags())
flags.Merge(c.flags, c.http.ServerFlags())
c.help = flags.Usage(help, c.flags, c.http.ClientFlags(), c.http.ServerFlags())
c.help = flags.Usage(help, c.flags, c.http.ClientFlags(), nil)
}
func (c *cmd) Run(args []string) int {

Loading…
Cancel
Save