diff --git a/src/cmd/vet/main.go b/src/cmd/vet/main.go index 81063856dd..b317c88738 100644 --- a/src/cmd/vet/main.go +++ b/src/cmd/vet/main.go @@ -161,7 +161,7 @@ func register(name, usage string, fn func(*File, ast.Node), types ...ast.Node) { // Usage is a replacement usage function for the flags package. func Usage() { - fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) + fmt.Fprintf(os.Stderr, "Usage of vet:\n") fmt.Fprintf(os.Stderr, "\tvet [flags] directory...\n") fmt.Fprintf(os.Stderr, "\tvet [flags] files... # Must be a single package\n") fmt.Fprintf(os.Stderr, "By default, -all is set and all non-experimental checks are run.\n")