mirror of https://github.com/status-im/consul.git
fix cli string for id flag (#15695)
This commit is contained in:
parent
1f7e7abeac
commit
275a0b8e7f
|
@ -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