Browse Source

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

Brandon Philips 12 years ago
parent
commit
8174669519
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcd.go

+ 1 - 1
etcd.go

@@ -204,7 +204,7 @@ func main() {
 	argInfo.Name = strings.TrimSpace(argInfo.Name)
 	argInfo.Name = strings.TrimSpace(argInfo.Name)
 
 
 	if 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")
 	argInfo.RaftURL = checkURL(argInfo.RaftURL, "http")