flag.BoolVar(&config.RaftStepdownOnShutdown,"raft-shutdown-stepdown",true,"If leader, stepdown before shutting down. Enabled by default")
flag.BoolVar(&config.RaftShutdownOnRemove,"raft-remove-shutdown",false,"Shutdown Raft if node removed from cluster")
flag.BoolVar(&config.RaftClusterRemoveOnShutdown,"raft-cluster-remove-shutdown",false,"Node removes itself from cluster on graceful shutdown")
flag.StringVar(&config.RaftLogLevel,"raft-log-level","INFO","Minimum log level for Raft module")
flag.StringVar(&config.RaftLogLevel,"raft-log-level","WARN","Minimum log level for Raft module")
flag.DurationVar(&config.RaftReapNodeTimeout,"raft-reap-node-timeout",0*time.Hour,"Time after which a non-reachable voting node will be reaped. If not set, no reaping takes place")
flag.DurationVar(&config.RaftReapReadOnlyNodeTimeout,"raft-reap-read-only-node-timeout",0*time.Hour,"Time after which a non-reachable non-voting node will be reaped. If not set, no reaping takes place")
flag.DurationVar(&config.ClusterConnectTimeout,"cluster-connect-timeout",30*time.Second,"Timeout for initial connection to other nodes")