terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.81k stars 246 forks source link

Allow for alternatives to 'GENERATED CODE' to indicate generated files #382

Open mitchgrout opened 9 months ago

mitchgrout commented 9 months ago

It would be convenient to be able to use a different phrase, rather than "GENERATED CODE". Possibly this could involve accepting one (or more) options from the command line, like

$ lizard --generated-comment MY_GENERATED_CODE_COMMENT path/
$ lizard  -g                 MY_GENERATED_CODE_COMMENT path/

...with the default value being "GENERATED CODE". I'd be happy to implement.