commands: drop http server flags from keyring command

This commit is contained in:
Frank Schroeder 2017-10-17 23:13:51 +02:00 committed by Frank Schröder
parent 6032fe1407
commit c877b3001b
1 changed files with 1 additions and 2 deletions

View File

@ -51,8 +51,7 @@ func (c *cmd) init() {
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 {