f.Var((*flagext.StringSlice)(&cfg.InfNames),"ui.interface","Name of network interface to read address from.")
f.StringVar(&cfg.NodeName,"ui.node-name",hostname,"Name to use for this node in the cluster.")
f.StringVar(&cfg.AdvertiseAddr,"ui.advertise-addr","","IP address to advertise in the cluster.")
f.DurationVar(&cfg.RejoinInterval,"ui.rejoin-interval",15*time.Second,"How frequently to rejoin the cluster to address split brain issues.")
f.DurationVar(&cfg.RejoinInterval,"ui.rejoin-interval",3*time.Minute,"How frequently to rejoin the cluster to address split brain issues.")
f.IntVar(&cfg.ClusterMaxJoinPeers,"ui.cluster-max-join-peers",3,"Number of initial peers to join from the discovered set.")
f.StringVar(&cfg.ClusterName,"ui.cluster-name","","Name to prevent nodes without this identifier from joining the cluster.")
f.BoolVar(&cfg.EnableIPv6,"ui.enable-ipv6",false,"Enable using a IPv6 instance address.")
f.Var((*flagext.StringSlice)(&cfg.Discovery.JoinPeers),"ui.discovery.join-peers","List of peers to join the cluster. Supports multiple values separated by commas. Each value can be a hostname, an IP address, or a DNS name (A/AAAA and SRV records).")
f.BoolVar(&cfg.Debug,"ui.debug",false,"Enable debug logging for the UI.")