We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af202c7 + 5a88da1 commit 2403fe7Copy full SHA for 2403fe7
1 file changed
etcd.go
@@ -58,7 +58,7 @@ func init() {
58
flag.StringVar(&machines, "C", "", "the ip address and port of a existing machines in the cluster, sepearate by comma")
59
flag.StringVar(&machinesFile, "CF", "", "the file contains a list of existing machines in the cluster, seperate by comma")
60
61
- flag.StringVar(&argInfo.Name, "n", "", "the node name (required)")
+ flag.StringVar(&argInfo.Name, "n", "default-name", "the node name (required)")
62
flag.StringVar(&argInfo.EtcdURL, "c", "127.0.0.1:4001", "the hostname:port for etcd client communication")
63
flag.StringVar(&argInfo.RaftURL, "s", "127.0.0.1:7001", "the hostname:port for raft server communication")
64
flag.StringVar(&argInfo.WebURL, "w", "", "the hostname:port of web interface")
0 commit comments