mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: better flag
This commit is contained in:
parent
9ff7075ce8
commit
c1e0b19f9f
@ -193,6 +193,12 @@ Follow the instructions when using these flags.
|
||||
+ Force to create a new one-member cluster. It commits configuration changes in force to remove all existing members in the cluster and add itself. It needs to be set to [restore a backup][restore].
|
||||
+ default: false
|
||||
|
||||
### Experimental Flags
|
||||
|
||||
##### -experimental-v3demo
|
||||
+ Enable experimental v3 demo API
|
||||
+ default: false
|
||||
|
||||
### Miscellaneous Flags
|
||||
|
||||
##### -version
|
||||
|
@ -211,7 +211,7 @@ func NewConfig() *config {
|
||||
fs.BoolVar(&cfg.printVersion, "version", false, "Print the version and exit")
|
||||
|
||||
// demo flag
|
||||
fs.BoolVar(&cfg.v3demo, "v3demo", false, "Enable v3 demo")
|
||||
fs.BoolVar(&cfg.v3demo, "experimental-v3demo", false, "Enable experimental v3 demo API")
|
||||
|
||||
// backwards-compatibility with v0.4.6
|
||||
fs.Var(&flags.IPAddressPort{}, "addr", "DEPRECATED: Use -advertise-client-urls instead.")
|
||||
|
@ -121,5 +121,11 @@ given by the consensus protocol.
|
||||
|
||||
--force-new-cluster 'false'
|
||||
force to create a new one-member cluster.
|
||||
|
||||
|
||||
experimental flags:
|
||||
|
||||
--experimental-v3demo 'false'
|
||||
enable experimental v3 demo API
|
||||
`
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user