diff --git a/stringer.go b/stringer.go index bffcb19..3ef765d 100644 --- a/stringer.go +++ b/stringer.go @@ -43,6 +43,7 @@ var ( // Usage is a replacement usage function for the flags package. func Usage() { + _, _ = fmt.Fprintf(os.Stderr, "Enumer is a tool to generate Go code that adds useful methods to Go enums (constants with a specific type).") _, _ = fmt.Fprintf(os.Stderr, "Usage of %s:\n", os.Args[0]) _, _ = 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")