fix cli string for id flag (#15695)
This commit is contained in:
parent
2af14c0084
commit
af2464126a
|
@ -27,7 +27,7 @@ func (c *cmd) init() {
|
|||
c.flags = flag.NewFlagSet("", flag.ContinueOnError)
|
||||
c.http = &flags.HTTPFlags{}
|
||||
c.flags.StringVar(&c.id, "id", "",
|
||||
"The ID to remove from the Raft configuration.")
|
||||
"The ID of the node to transfer leadership to.")
|
||||
flags.Merge(c.flags, c.http.ClientFlags())
|
||||
flags.Merge(c.flags, c.http.ServerFlags())
|
||||
c.help = flags.Usage(help, c.flags)
|
||||
|
|
Loading…
Reference in New Issue