*: better flag
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].
|
+ 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
|
+ default: false
|
||||||
|
|
||||||
|
### Experimental Flags
|
||||||
|
|
||||||
|
##### -experimental-v3demo
|
||||||
|
+ Enable experimental v3 demo API
|
||||||
|
+ default: false
|
||||||
|
|
||||||
### Miscellaneous Flags
|
### Miscellaneous Flags
|
||||||
|
|
||||||
##### -version
|
##### -version
|
||||||
|
|
|
@ -211,7 +211,7 @@ func NewConfig() *config {
|
||||||
fs.BoolVar(&cfg.printVersion, "version", false, "Print the version and exit")
|
fs.BoolVar(&cfg.printVersion, "version", false, "Print the version and exit")
|
||||||
|
|
||||||
// demo flag
|
// 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
|
// backwards-compatibility with v0.4.6
|
||||||
fs.Var(&flags.IPAddressPort{}, "addr", "DEPRECATED: Use -advertise-client-urls instead.")
|
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-new-cluster 'false'
|
||||||
force to create a new one-member cluster.
|
force to create a new one-member cluster.
|
||||||
|
|
||||||
|
|
||||||
|
experimental flags:
|
||||||
|
|
||||||
|
--experimental-v3demo 'false'
|
||||||
|
enable experimental v3 demo API
|
||||||
`
|
`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue