fix(etcd): be more explicit with name error message

release-0.4
Brandon Philips 2013-08-10 09:42:39 -07:00
parent 328b92e8e7
commit 8174669519
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func main() {
argInfo.Name = strings.TrimSpace(argInfo.Name)
if argInfo.Name == "" {
fatal("Please give the name of the server")
fatal("ERROR: server name required. e.g. '-n=server_name'")
}
argInfo.RaftURL = checkURL(argInfo.RaftURL, "http")