Skip to content

Commit

Permalink
parse and ignore old flag ignoreGeneratedCode (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrissan authored Jun 27, 2024
1 parent a595d95 commit f3bcaec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/tlgen/main2.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ func parseFlags(opt *tlcodegen.Gen2Options) {
// General
flag.StringVar(&opt.Language, "language", "",
`generation target language (go, cpp). Empty for linter.`)
ignoreGeneratedCode := false
flag.BoolVar(&ignoreGeneratedCode, "ignoreGeneratedCode", false,
"flag is ignored, because default generator is linting now")
flag.StringVar(&opt.Outdir, "outdir", "",
`where to write generated files`)
flag.StringVar(&opt.CopyrightFilePath, "copyrightPath", "",
Expand Down

0 comments on commit f3bcaec

Please sign in to comment.