diff --git a/cmd/avrogen/main.go b/cmd/avrogen/main.go index 67ff697..157fe83 100644 --- a/cmd/avrogen/main.go +++ b/cmd/avrogen/main.go @@ -47,8 +47,8 @@ func realMain(args []string, stdout, stderr io.Writer) int { flgs.BoolVar(&cfg.Encoders, "encoders", false, "Generate encoders for the structs.") flgs.BoolVar(&cfg.FullSchema, "fullschema", false, "Use the full schema in the generated encoders.") flgs.BoolVar(&cfg.StrictTypes, "strict-types", false, "Use strict type sizes (e.g. int32) during generation.") - flgs.BoolVar(&cfg.PlainMap, "plain-map", false, "Use a plain map and not a pointer for nullable unions resulting in a map.") - flgs.BoolVar(&cfg.PlainSlice, "plain-slice", false, "Use a plain slice and not a pointer for nullable unions resulting in a slice.") + flgs.BoolVar(&cfg.PlainMap, "plain-map", false, "Use a plain map instead of a ptr for nullable map unions.") + flgs.BoolVar(&cfg.PlainSlice, "plain-slice", false, "Use a plain slice instead of a ptr for nullable slice unions.") flgs.StringVar(&cfg.Initialisms, "initialisms", "", "Custom initialisms [,...] for struct and field names.") flgs.StringVar(&cfg.TemplateFileName, "template-filename", "", "Override output template with one loaded from file.") flgs.Usage = func() {