mirror of https://github.com/status-im/consul.git
commands: drop http server flags from reload command
This commit is contained in:
parent
cb96d1f126
commit
0cadee99ff
|
@ -25,8 +25,7 @@ func (c *cmd) init() {
|
||||||
c.flags = flag.NewFlagSet("", flag.ContinueOnError)
|
c.flags = flag.NewFlagSet("", flag.ContinueOnError)
|
||||||
c.http = &flags.HTTPFlags{}
|
c.http = &flags.HTTPFlags{}
|
||||||
flags.Merge(c.flags, c.http.ClientFlags())
|
flags.Merge(c.flags, c.http.ClientFlags())
|
||||||
flags.Merge(c.flags, c.http.ServerFlags())
|
c.help = flags.Usage(help, c.flags, c.http.ClientFlags(), nil)
|
||||||
c.help = flags.Usage(help, c.flags, c.http.ClientFlags(), c.http.ServerFlags())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *cmd) Run(args []string) int {
|
func (c *cmd) Run(args []string) int {
|
||||||
|
|
Loading…
Reference in New Issue