From a00f8721fb6d8f30901f492fbe34d3a917158223 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 261f9b808..ab1625f75 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 {