package server import ( "strings" ) // usage defines the message shown when a help flag is passed to etcd. var usage = ` etcd Usage: etcd -name etcd -name [-data-dir=] etcd -h | -help etcd -version Options: -h -help Show this screen. --version Show version. -f -force Force a new configuration to be used. -config= Path to configuration file. -name= Name of this node in the etcd cluster. -data-dir= Path to the data directory. -cors= Comma-separated list of CORS origins. -v Enabled verbose logging. -vv Enabled very verbose logging. Cluster Configuration Options: -discovery= Discovery service used to find a peer list. -peers-file= Path to a file containing the peer list. -peers=, Comma-separated list of peers. The members should match the peer's '-peer-addr' flag. Client Communication Options: -addr= The public host:port used for client communication. -bind-addr= The listening host:port used for client communication. -ca-file= Path to the client CA file. -cert-file= Path to the client cert file. -key-file= Path to the client key file. Peer Communication Options: -peer-addr= The public host:port used for peer communication. -peer-bind-addr= The listening host:port used for peer communication. -peer-ca-file= Path to the peer CA file. -peer-cert-file= Path to the peer cert file. -peer-key-file= Path to the peer key file. -peer-heartbeat-interval=