Browse Source

etcd: correctly override flag.Usage

Brian Waldon 11 years ago
parent
commit
69fba03fc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -91,7 +91,7 @@ func init() {
 }
 
 func main() {
-	flag.CommandLine.Usage = usageWithIgnoredFlagsFunc(flag.CommandLine, deprecated)
+	flag.Usage = usageWithIgnoredFlagsFunc(flag.CommandLine, deprecated)
 	flag.Parse()
 
 	setFlagsFromEnv()