diff --git a/cmd/stringer/stringer.go b/cmd/stringer/stringer.go index 5c3ad354..5edea7bf 100644 --- a/cmd/stringer/stringer.go +++ b/cmd/stringer/stringer.go @@ -87,7 +87,7 @@ var ( // 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 stringer:\n") fmt.Fprintf(os.Stderr, "\tstringer [flags] -type T [directory]\n") fmt.Fprintf(os.Stderr, "\tstringer [flags] -type T files... # Must be a single package\n") fmt.Fprintf(os.Stderr, "For more information, see:\n")