Skip to content

Commit

Permalink
Change the incorrect "output" parameter help to "<type>_enumer.go"
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroloes authored Sep 2, 2019
1 parent d27f80a commit 455e9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stringer.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var (
json = flag.Bool("json", false, "if true, json marshaling methods will be generated. Default: false")
yaml = flag.Bool("yaml", false, "if true, yaml marshaling methods will be generated. Default: false")
text = flag.Bool("text", false, "if true, text marshaling methods will be generated. Default: false")
output = flag.String("output", "", "output file name; default srcdir/<type>_string.go")
output = flag.String("output", "", "output file name; default srcdir/<type>_enumer.go")
transformMethod = flag.String("transform", "noop", "enum item name transformation method. Default: noop")
trimPrefix = flag.String("trimprefix", "", "transform each item name by removing a prefix. Default: \"\"")
lineComment = flag.Bool("linecomment", false, "use line comment text as printed text when present")
Expand Down

0 comments on commit 455e9a9

Please sign in to comment.