fix cli string for id flag (#15695)

pull/15892/head
Hans Hasselberg 2 years ago committed by GitHub
parent 1f7e7abeac
commit 275a0b8e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save