Commit 3fa7226d authored by Andrew Gerrand's avatar Andrew Gerrand

goinstall: better usage message

Fixes #2185.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4967046
parent ea23ba3e
......@@ -20,8 +20,8 @@ import (
)
func usage() {
fmt.Fprint(os.Stderr, "usage: goinstall importpath...\n")
fmt.Fprintf(os.Stderr, "\tgoinstall -a\n")
fmt.Fprintln(os.Stderr, "usage: goinstall [flags] importpath...")
fmt.Fprintln(os.Stderr, " goinstall [flags] -a")
flag.PrintDefaults()
os.Exit(2)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment