1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:14:43 -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:
Andrew Gerrand 2011-09-02 10:07:47 +10:00
parent ea23ba3e2d
commit 3fa7226de7

View File

@ -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)
}