mirror of
https://github.com/golang/go
synced 2024-11-21 22:34:48 -07:00
goinstall: better usage message
Fixes #2185. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4967046
This commit is contained in:
parent
ea23ba3e2d
commit
3fa7226de7
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user