commands: drop http server flags from reload command

This commit is contained in:
Frank Schroeder 2017-10-17 23:58:24 +02:00 committed by Frank Schröder
parent cb96d1f126
commit 0cadee99ff
1 changed files with 1 additions and 2 deletions

View File

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