diff --git a/etcd.go b/etcd.go index f6f293f7c..5b52212f8 100644 --- a/etcd.go +++ b/etcd.go @@ -72,7 +72,7 @@ func init() { flag.StringVar(&argInfo.ClientCertFile, "clientCert", "", "the cert file of the client") flag.StringVar(&argInfo.ClientKeyFile, "clientKey", "", "the key file of the client") - flag.StringVar(&dirPath, "d", "/tmp/", "the directory to store log and snapshot") + flag.StringVar(&dirPath, "d", ".", "the directory to store log and snapshot") flag.BoolVar(&ignore, "i", false, "ignore the old configuration, create a new node")