etcd: move server/usage.go to etcd/v2_usage.go

release-2.0
Xiang Li 2014-07-11 12:42:08 -07:00 committed by Yicheng Qin
parent b8d71dfe70
commit 44836d9099
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
package server
package etcd
import (
"strings"

View File

@ -18,6 +18,7 @@ import (
func main() {
var config = config.New()
if err := config.Load(os.Args[1:]); err != nil {
fmt.Println(etcd.Usage() + "\n")
fmt.Println(err.Error(), "\n")
os.Exit(1)
} else if config.ShowVersion {