ソースを参照

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

Brandon Philips 12 年 前
コミット
8174669519
1 ファイル変更1 行追加1 行削除
  1. 1 1
      etcd.go

+ 1 - 1
etcd.go

@@ -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")