Include * in documented flag value type when applicable

This commit is contained in:
2022-05-04 23:11:05 -04:00
parent 71cd131794
commit 2ac3904d12
2 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
package {{.PackageName}}
{{range .SortedFlagTypes}}
// {{.TypeName}} is a flag with type {{.GoType}}
// {{.TypeName}} is a flag with type {{if .ValuePointer}}*{{end}}{{.GoType}}
type {{.TypeName}} struct {
Name string