From cb96d1f1266d1f1612dbdfe220f43a2f31ca1fae Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 17 Oct 2017 23:14:33 +0200 Subject: [PATCH] commands: drop http server flags from leave command --- command/leave/leave.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/command/leave/leave.go b/command/leave/leave.go index 261f9b808f..ab1625f756 100644 --- a/command/leave/leave.go +++ b/command/leave/leave.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 {