diff --git a/etcdmain/config.go b/etcdmain/config.go index 4bc900bc1..4b72649b0 100644 --- a/etcdmain/config.go +++ b/etcdmain/config.go @@ -216,6 +216,9 @@ func newConfig() *config { // auth fs.StringVar(&cfg.AuthToken, "auth-token", cfg.AuthToken, "Specify auth token specific options.") + // experimental + fs.DurationVar(&cfg.ExperimentalCorruptCheckTime, "experimental-corrupt-check-time", cfg.ExperimentalCorruptCheckTime, "Duration of time between cluster corruption check passes.") + // ignored for _, f := range cfg.ignored { fs.Var(&flags.IgnoredFlag{Name: f}, f, "") diff --git a/etcdmain/help.go b/etcdmain/help.go index ad4d30240..152fbb649 100644 --- a/etcdmain/help.go +++ b/etcdmain/help.go @@ -179,5 +179,9 @@ profiling flags: auth flags: --auth-token 'simple' Specify a v3 authentication token type and its options ('simple' or 'jwt'). + +experimental flags: + --experimental-corrupt-check-time '0s' + duration of time between cluster corruption check passes. ` )